System.Web.UI.WebControls.BaseDataList.DataMember Property

Gets or sets the specific data member in a multimember data source to bind to a data listing control.

Syntax

[System.Web.UI.Themeable(false)]
[System.ComponentModel.DefaultValue("")]
public string DataMember { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the BaseDataList.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 BaseDataList.DataSource property, use the BaseDataList.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 System.Web.UI.ThemeableAttribute and ASP.NET Themes Overview.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0