Click here to Skip to main content
16,017,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI I want to Bind the column value in grid view control

column is image field and bind with sql database table with image column
and when the image is shown in grid view it will become a link of next page

thank you

please................
Posted

Look here:
Display Images In GridView From DataBase Asp.Net[^]

Use the template of the gridview to put a hyperlink in your grid, to the new page.
 
Share this answer
 
Comments
M@anish 13-Sep-12 3:46am    
when the image come in grid view it become the link for next Page
please......
Prasad_Kulkarni 13-Sep-12 3:49am    
..then rather showing image show link to page you want, as if you don't want to show image.
M@anish 13-Sep-12 3:52am    
no sir ,when image come's in grid view ok and then it become's the link
 
Share this answer
 
Comments
M@anish 13-Sep-12 3:33am    
when the image come in grid view it become the link for next Page
please......................
_Amy 13-Sep-12 3:36am    
Surround your Image tag with anchor tag.
<a href="http://test.com"><asp:Image ID="img" runat="server" /></a>
M@anish 13-Sep-12 3:45am    
when the image come in grid view it become the link for next Page
please......

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