Can someone please tell me how to display an image in a HyperLinkField of a gridview?
Instead of words, I just want to show a simple little icon that can be clicked on and pass a query string to the next page. The first hyperlink field I have set up works perfectly and passes the querystring to the next page. The second hyperlinkfield is my attempt at showing the image but it's giving me a squiggly and telling me "the element img cannot be nested within the element hyperlinkfield"
I got this technique from this brief article - I would like to accomplish exactly what it says it is suppose to do.
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="clientID">
<asp:BoundField DataField="clientFirstName" HeaderText="First Name" />
<asp:BoundField DataField="clientLastName" HeaderText="Last Name" />
<asp:HyperLinkField HeaderText="More Info" Text="View more info..."
View Complete Post