A part of my website allows users to upload files to the SQL database. This file is saved in the database in binary format, and once it is saved, I want users to be able to download this file from the database. How can I write code to dynamically create a link to the file?
I have a website that allows users to upload files. The uploaded file is managed using a FileUpload control. Inside the SQL database the file is inserted into a field called "Attachment" which has a data type of varbinary(MAX). Whenever I try to upload the file and insert it into the database by...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.