GridView中的链接按钮

 链接按钮:

 

编辑按钮:(对应笔头)
  <asp:HyperLinkField Text="<img src='../images/edit.gif' border='0' />" DataNavigateUrlFormatString="EditUser.aspx?UserName={0}" DataNavigateUrlFields="UserName" />

删除按钮:(对应垃圾桶)
  <asp:ButtonField CommandName="Delete" ButtonType="Image" ImageUrl="~/images/delete.gif" />

原文地址:https://www.cnblogs.com/zhangqs008/p/2341218.html