How to show a image in database in the image control of Asp.net? We have to show the image of employee along with his details in the asp.net page, but the issue is how to show the image on the asp.net image control for the image control takes picture by the property ImageUrl.
Kindly guide….
You can create an HttpHandler(ashx) page which would take a querystring and set that as the imageUrl property of the image control
Now in DisplayImage.ashx, you can override the Processrequest like below:-
Web.config changes:-
Details here and here.
Hope this helps..