.NET Framework (current version)
Gets or sets the index of the selected row in the data-bound control.
System.Web (in System.Web.dll)
private abstract SelectedIndex : int with get, set
private override SelectedIndex : int with get, set
The index of the selected row in the data-bound control.
This member is an explicit interface member implementation. It can be used only when the GridView instance is cast to an IDataBoundListControl interface.
ASP.NET Dynamic Data supports this property.
Return to top
Available since 4.0