ListView.IDataBoundControl.DataSource 属性
定义
获取或设置对象,数据绑定控件从该对象中检索其数据项列表。Gets or sets the object from which a data-bound control retrieves its list of data items.
property System::Object ^ System::Web::UI::WebControls::IDataBoundControl::DataSource { System::Object ^ get(); void set(System::Object ^ value); };
object System.Web.UI.WebControls.IDataBoundControl.DataSource { get; set; }
member this.System.Web.UI.WebControls.IDataBoundControl.DataSource : obj with get, set
Property DataSource As Object Implements IDataBoundControl.DataSource
属性值
包含数据绑定控件所检索到的数据列表的对象。The object that contains the list of data that a data-bound control retrieves.
实现
注解
此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 ListView 实例被强制转换为 IDataBoundControl 接口时使用。It can be used only when the ListView instance is cast to an IDataBoundControl interface.