When i am click on update button i got this error my update click event
protected void btnUpdate_Click(object sender, CommandEventArgs e) { int idx = Conve
No need to use e.CommandArgument to find the GridViewRow. Just do this
e.CommandArgument
GridViewRow
GridViewRow gr = ((Button)sender).NamingContainer as GridViewRow;