DetailsView.IDataBoundControl.DataSourceID 属性

定义

有关此属性的说明,请参见 DataSourceIDFor a description of this property, see DataSourceID.

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; }
 Property DataSourceID As String Implements IDataBoundControl.DataSourceID

属性值

数据源控件的 ID,该数据源控件包含 DetailsView 控件所检索到的数据项列表。The ID of the data source control that contains the list of data items that the DetailsView control retrieves.

实现

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 DetailsView 实例被强制转换为 IDataBoundControl 接口时使用。It can be used only when the DetailsView instance is cast to an IDataBoundControl interface.

适用于