System.Web.UI.WebControls.Repeater.DataMember Property

Gets or sets the specific table in the Repeater.DataSource to bind to the control.

Syntax

[System.ComponentModel.DefaultValue("")]
public virtual string DataMember { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

If the data source specified by the Repeater.DataSource property contains multiple sources of data, use the Repeater.DataMember property to specify the specific source to bind to the control. For example, if you have a System.Data.DataSet with multiple tables, you must specify which table to bind to the control. After you have specified the data source, use the Repeater.DataBind method to bind the data source to the control.

The value of this property is stored in view state.

Requirements

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