Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hello Friends

I want to about how to store and retrieve images in database using Asp.net.
Pls Send my the code for it.

Thanks in advance.
Posted

It was probably quicker to google than to write your question

http://www.shabdar.org/store-save-images-in-sql-server.html[^]
 
Share this answer
 
Comments
TweakBird 4-Mar-11 15:01pm    
This is also good. But OP asked in asp.net.

P.S: But same User posted CP Article also with more images: http://www.codeproject.com/KB/database/Store_images_in_SQL_Serve.aspx
Here you go

Links

Save & Read Image From Database[^]

Uploading and Storing Image Path to Database and Image to Folder[^]

But I recommend file-system to store/retrieve images by saving only file path in database. Because..

Discussions

Should I store images in the database or the filesystem?[^]

Storing Binary Files Directly in the Database Using ASP.NET 2.0[^]

Have a great weekend
 
Share this answer
 
Comments
TweakBird 4-Mar-11 14:57pm    
Good suggestions Raja. 5+

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900