Archive for the 'FileStream' Category

Storing Files In Database Using ASP.NET

In this example I am storing files like word document, text file and excel files into database and retrieving back from database and saving back into a folder.
So lets start creating a Table in SQL Server database in which we are going store our uploaded files, in this table I am creating following columns.

DocumentID int [...]