語言

GridView.IDataBoundListControl.SelectedIndex 屬性

定義

取得或設定資料綁定控制中所選列的索引。

property int System::Web::UI::WebControls::IDataBoundListControl::SelectedIndex { int get(); void set(int value); };
int System.Web.UI.WebControls.IDataBoundListControl.SelectedIndex { get; set; }
member this.System.Web.UI.WebControls.IDataBoundListControl.SelectedIndex : int with get, set
 Property SelectedIndex As Integer Implements IDataBoundListControl.SelectedIndex

屬性值

資料綁定控制中所選列的索引。

實作

備註

此成員為明確介面成員實作。 它只能在實 GridView 例投射到 IDataBoundListControl 介面時使用。

ASP.NET Dynamic Data 支援此功能。

適用於