Click here to Skip to main content
15,896,606 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to insert imagedirectly to database after inserting so after inserting if image is with sys date i want to retrieve image to image ctrl already i have retrieved id,name to textboxes but to retrieve image i cant
Posted

1 solution

If I understood the question correctly, you need to fetch the image from the database and put it into an Image control? If so, have a look at

http://www.aspsnippets.com/Articles/Display-Images-from-SQL-Server-Database-using-ASP.Net.aspx[^]

or

http://www.aspsnippets.com/Articles/Display-image-from-database-in-Image-control-without-using-Generic-Handler-in-ASPNet.aspx[^]


There are a lot more examples available for example using this query https://www.google.com/webhp?q=image+asp.net+from+database+site:codeproject.com[^]
 
Share this answer
 
v2

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