System.Web.UI.WebControls.DataListItem.DataItem Property

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

Syntax

public virtual object DataItem { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

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

Note:

This property only applies to data items in the System.Web.UI.WebControls.DataList control. The DataListItem.ItemType property of the System.Web.UI.WebControls.DataListItem object must be set to one of the System.Web.UI.WebControls.ListItemType enumeration values.

Requirements

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