It is a frequently asked question, "How we can save images to a database" or "How images can be displayed from a database"
I have created a sample web site application using ASP.NET 2.0 which enables web users to upload files from client machines to a database over the web server. The application also lists the files submitted to the database.
You can either save a file to the database or save it to a folder on the web server.
There is also a list of valid file extensions for upload process. All these settings can be configured from the web.config file.
You can download the sample web application from the file downloads section at page http://www.kodyaz.com/files/21/file_upload_and_save_to_database_sample_web_site_application/entry557.aspx
I hope the sample codes will help you to build your file upload applications and saving files or pictures to databases successfully.