GridDataItem rows = (GridDataItem)(((ImageButton)e.CommandSource).NamingContainer);
int varName1 = Convert.ToInt32(((Label)rows.FindControl("lblSRNO")).Text.ToString());
int varName1 = Convert.ToInt32(((Label)rows.FindControl("lblSRNO")).Text.ToString());
No comments:
Post a Comment