System.Web.UI.WebControls.RepeaterItem.DataItem Property

Gets or sets a data item associated with the System.Web.UI.WebControls.RepeaterItem object in the System.Web.UI.WebControls.Repeater control.

Syntax

public virtual object DataItem { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the RepeaterItem.DataItem property to specify or determine the properties of a data item associated with the System.Web.UI.WebControls.RepeaterItem object in the System.Web.UI.WebControls.Repeater control.

Note:

This property only applies to data items in the System.Web.UI.WebControls.Repeater control. The RepeaterItem.ItemType property must be set to ListItemType.Item, ListItemType.AlternatingItem, ListItemType.SelectedItem, or ListItemType.EditItem.

Requirements

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