Click here to Skip to main content
15,891,607 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi....
can any one tell me how can i save image in database and display it on the web page in asp.net?
I am using asp.net2.0 and sql server2005.
please give me te response...
Posted

1 solution

Insert Image in to Database[^]
To Display Image
MIDL
byte[] imageByte=(byte[]) "your image fromDatabase"
Response.BinaryWrite(imageByte);

also check this link
Display Images from Database[^]
 
Share this answer
 

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