Help with uploading file in the database
Hi Guys,I am using asp.net and vb.net...I have below code for upload button, but what I want is as soon as the file gets uploaded, it has to get saved in my database...it should be stored in the below format...
I have label1 and label2 in my webform which are the id and category names in the database...and the database layout is
UploadTable
ID CATEGORY FILENAME
So once the fiile is uploaded it has to store in the database table names UoloadTable and should save as....ID taken from Label1, category taken from label2 and filename of the file uploaded....and this file has to get stored in UPLOADS folder.
Also the file name with id,name has to to be stored in database, not contents but just file name with its id