G
graphicsxp
Hi,
To have a hyperlink image in my gridview I do this :
<asp:TemplateField>
<ItemTemplate>
<a href="ViewCutting.aspx?CuttinID={0}" ><img
src="App_Themes/close.gif" alt="" style="border:0px" /></a>
</ItemTemplate>
</asp:TemplateField>
This works except that {0} is not doing anything as my hyperlink is not
a server control.
So how can I pass to the URL the value of a field of my gridview for
the row that was clicked ?
Thanks
To have a hyperlink image in my gridview I do this :
<asp:TemplateField>
<ItemTemplate>
<a href="ViewCutting.aspx?CuttinID={0}" ><img
src="App_Themes/close.gif" alt="" style="border:0px" /></a>
</ItemTemplate>
</asp:TemplateField>
This works except that {0} is not doing anything as my hyperlink is not
a server control.
So how can I pass to the URL the value of a field of my gridview for
the row that was clicked ?
Thanks