<asp:Button ID="btnEdit" runat="server" CommandName="Edit" Text="Edit" CommandArgument='<%# Eval("id") %>' />
int Deleteid = int.Parse((sender as ImageButton).CommandArgument);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)