Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SelectRow Method
Collapse the table of content
Expand the table of content

GridView.SelectRow Method

.NET Framework 4.6 and 4.5

Selects the row to edit in a GridView control.

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

'Declaration
Public Sub SelectRow ( _
	rowIndex As Integer _
)

Parameters

rowIndex
Type: System.Int32

The index of the row to edit.

This method raises the SelectedIndexChanged event.

.NET Framework

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft