
03-21-2011, 02:10 AM
|
|
Newcomer
|
|
Join Date: Mar 2011
Posts: 2
|
|
File Upload Option (VB)
|
Hi,
I am designing a web protal as a part of which,i am supposed to upload and download files.
I have enlistd the file names in a grid view which in turn is being populated by a table in TOAD.
My TOAD table consists of the attributes, No, Subject, Id_No, Ext, Address.
All the files are stored in a sub folder with the Id_No as file name.
I have an ' upload file' option under the gridview, wherein i want the user to browse and select the file, and on clicking the Upload button, the file name should be stored in the TOAD table, under the appropriate attributes. i.e.
A Serial No should be generated and stored under No.
The file name should be stored under Subject.
An id_No should be generated and again stored under ID_No
The extension of the file should be stored under Ext
And the Id_No and Ext should be appended and added to Address in the following manner:
javascript:popUp('http://localhost/healthsystem/HealthArticles/1357.docx')
Please let me know how this can be done.
Thank you
Regards,
Ritwika
|
Last edited by Flyguy; 03-21-2011 at 02:32 AM.
|