FormView.IDataBoundControl.DataMember 属性

定义

当数据源包含多个数据项列表时,获取或设置 FormView 控件绑定到的数据项列表的名称。Gets or sets the name of the list of data items that the FormView control binds to when the data source contains more than one list of data items.

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

属性值

String

FormView 控件绑定到的数据项列表的名称。The name of the list of data items that the FormView control binds to.

实现

注解

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

适用于