GridView.IDataBoundListControl.SelectedIndex 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定資料綁定控制中所選列的索引。
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 支援此功能。