Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 07, 2013 08:35 AM by bruce le
Dec 28, 2012 05:17 PM|LINK
i am looking for 1 simple solution or article that shows how we can upload multiple files with upload control (shows on the screen with ability to remove) and define one subject for them and then click on submit button for saving them in database table.
i have designed one table for my self like below but i have problem when i have multiple files.
when i was uploading just one file i had not any problem, for multiple files i have add another field "batchid" but i do not know how to get value for that.
ID BatchID file name subject content type data extension
1 1 test1.pdf for test1 application/pdf (binary) .pdf
2 1 test2.doc for test2 application/word (binary) .doc
3 2 test11111.pdf for test11111 application/pdf (binary) .pdf
4 3 test22222.doc for test22222 application/word (binary) .doc
Dec 28, 2012 06:33 PM|LINK
Follow below link
Dec 29, 2012 04:06 AM|LINK
thanks , how should be design of my table.
in my aspx page
1- fill the subjectb text box
3- click on save button to save in database table.
i have to have 2 separate tables (tblfiles,tblsubject) or one table is enough.
Jan 07, 2013 08:35 AM|LINK
There are many good references for you,
File Upload with ASP.NET