摘要:
//行号 int row = ((GridViewRow)((Button)sender).NamingContainer).RowIndex;自定义列的显示(参考自csdn.net):<asp:TemplateField> <ItemTemplate> <asp:Label ID="Label1" runat="server" /> </ItemTemplate> </asp:TemplateField>protected void GridView1_RowDataBound(object 阅读全文