Image as hyperlink in a GridView
The ASP.NET GridView control's default column types just don't seem to be up to using an image as a hyperlink. The HyperLinkField has no image att开发者_StackOverflowributes, and the ImageField has no navigation attributes. Is this possible without using a TemplateField?
You can try to use HyperLinkField.DataTextFormatString property with inserting the tag into this format string
精彩评论