BaseDataList::DataMember Property
.NET Framework (current version)
Gets or sets the specific data member in a multimember data source to bind to a data listing control.
Assembly: System.Web (in System.Web.dll)
public: [ThemeableAttribute(false)] property String^ DataMember { String^ get(); void set(String^ value); }
Property Value
Type: System::String^A data member from a multimember data source. The default value is String::Empty.
Use the DataMember property to specify a member from a multimember data source to bind to the list control. For example, if you have a data source with more than one table specified in the DataSource property, use the DataMember property to specify which table to bind to a data listing control.
This property cannot be set by themes or style sheet themes. For more information, see ThemeableAttribute and ASP.NET Themes and Skins.
.NET Framework
Available since 1.1
Available since 1.1
Show: