how to get row index of selected row in gridview asp.net webforms
protected void GridView_SelectedIndexChanged(Object sender, EventArgs e)
{
GridView GridView1 = Page.FindControl("GridView1") as GridView;
GridViewRow row = GridView1.SelectedRow;
}