DetailsView.IDataBoundControl.DataMember Property


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

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

Property Value


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



此成员是显式接口成员的实现。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.

Applies to