Thursday, July 29, 2010

Get the current row that fire the command


protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)
{
GridViewRow row = (GridViewRow)((Control)e.CommandSource).NamingContainer;

... continue your codes here..
}

No comments:

Post a Comment