Need Image Control Help of Grid View in ASP.Net

Posted by Abbu under ASP.NET on 6/21/2014 | Points: 10 | Views : 304 | Status : [Member] | Replies : 1
I need a help regarding ASP.NET GridView Control

I am learning ASP.NET. I have learned how to retrieve and display images in Grid View from SQL server data base.
The grid view has select column also. And I took image control near grid view. So, how can I retrieve the image from grid view to that image tool after clicking the grid view select field.




Responses

Posted by: Sheonarayan on: 6/22/2014 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
On click of select button, you can pass image path as parameter and set that parameter value to the img element. Read this article http://www.dotnetfunda.com/articles/show/1652/how-to-get-the-primary-key-value-of-the-gridview-rows-in-javascript-or that may help.

Thanks

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Abbu, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response