Click here to Skip to main content
15,891,951 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello, I have a gridview. It has a link button. On clicking the link button a pop up window will show. And in that, the image which is stored for that entry in the database. I'm storing the path in database and image in folder. So how to show the image? Any similar articles?
Posted
Comments
ManojanbU 31-Aug-15 2:35am    
http://www.codeproject.com/Questions/514168/ASP-NETplusGridViewplusWithplusPopUpExtender

1 solution

I had a similar experience and found this 13 minute video showed how to use the
hyperlink control. The hyperlink part starts around 10 minutes.

The vid is a bit old now but I think it is still good information :-)

http://www.asp.net/web-forms/videos/how-do-i/how-do-i-create-data-driven-web-sites

Although he doesn't specifically load an image I think you should get the idea of how to configure you datagrid queries and details view.

I used a file upload control to store the file path of the image and the hyperlink opens the file. In my case a PDF but I guess it should work for an image ??

Hope it helps
 
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