System.Web.UI.WebControls.DataListItem Class

Represents an item in a System.Web.UI.WebControls.DataList control.

See Also: DataListItem Members

Syntax

[System.ComponentModel.ToolboxItem("")]
public class DataListItem : WebControl, System.Web.UI.IDataItemContainer

Remarks

A System.Web.UI.WebControls.DataListItem object represents an item in a System.Web.UI.WebControls.DataList control, such as a heading section, a footer section, or a data item.

The data items in the System.Web.UI.WebControls.DataList control are stored in a System.Web.UI.WebControls.DataListItemCollection that can be accessed by using the DataList.Items property of the System.Web.UI.WebControls.DataList control.

You can use a System.Web.UI.WebControls.DataListItem to programmatically access the properties of an item in a System.Web.UI.WebControls.DataList control.

Requirements

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