GridView.SelectRow Method (Int32)

.NET Framework (current version)
 

Selects the row to edit in a GridView control.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public void SelectRow(
	int rowIndex
)

Parameters

rowIndex
Type: System.Int32

The index of the row to edit.

This method raises the SelectedIndexChanged event.

.NET Framework
Available since 4.0
Return to top
Show: