DataGrid.SelectedIndex Property
.NET Framework 3.0
Gets or sets the index of the selected item in the DataGrid control.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
[BindableAttribute(true)] public: virtual property int SelectedIndex { int get (); void set (int value); }
/** @property */ public int get_SelectedIndex () /** @property */ public void set_SelectedIndex (int value)
public function get SelectedIndex () : int public function set SelectedIndex (value : int)
Not applicable.
Property Value
The index of the selected item in the DataGrid control.Community Additions
ADD
Show: