If using SQL Server create an Image or nVarChar field in your database table to hold the data. The process is not that different from storing a picture so
this code should help a lot. You will basically choose a file, open it as a FileStream and read it into a buffer that you will upload to the database. You can even use the built-in compression processing by pushing it through a GZipStream. Also store the original filename and you can pull it back out and reconstitute the file easily.
Reputation Points: 12
Solved Threads: 6
Junior Poster in Training
Offline 52 posts
since Feb 2008