語言

GridView.IDataBoundControl.DataSourceID 屬性

定義

取得或設定資料來源的 ID,資料綁定控制項從此取得資料項目清單。

property System::String ^ System::Web::UI::WebControls::IDataBoundControl::DataSourceID { System::String ^ get(); void set(System::String ^ value); };
string System.Web.UI.WebControls.IDataBoundControl.DataSourceID { get; set; }
member this.System.Web.UI.WebControls.IDataBoundControl.DataSourceID : string with get, set
 Property DataSourceID As String Implements IDataBoundControl.DataSourceID

屬性值

資料綁定控制項取回資料項目的資料來源 ID。

實作

備註

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

ASP.NET Dynamic Data 支援此功能。

適用於