question

Farzana_Tayeb avatar image
Farzana_Tayeb asked

Save and Retrieve Images from the Database using ASP.NET

How to Save and Retrieve Images from the Database(SQL server 2008R2) using ASP .NET and vb .net language.
insert
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

heryhe avatar image
heryhe answered
You can apply Blob, take a look at this link below http://justlikeamagic.com/2009/03/19/working-with-sql-server-blob-data-in-dot-net/ Hope it helps. Hery
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Fatherjack avatar image
Fatherjack answered
Personally I would only use the database to store the location of the images and have the images actually stored on a file server.
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.