Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

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;   
    } 
Source by forums.asp.net #
 
PREVIOUS NEXT
Tagged: #row #index #selected #row #gridview #webforms
ADD COMMENT
Topic
Name
1+8 =