<itemtemplate> <asp:linkbutton id="lb" runat="server" postbackurl="" text="<%# Eval("FieldNameIfYouWantToGetFromDatabase") %>"></asp:linkbutton> </itemtemplate>
Linkbutton btn = (Linkbutton)sender; GridViewRow gvr = (GridViewRow)btn.NamingContainer; int index = gvr.RowIndex;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)