A TDataListItem control represents an item in the TDataList control, such as heading section, footer section, or a data item. The data items are stored in the Items property of TDataList control. The index and data value of the item can be accessed via Index and Data properties, respectively.
Namespace: System.Web.UI.WebControls
Properties
ItemIndex, mixed
Gets or sets the index of the data item in the Items collection of datalist.
Data, mixed
Gets or sets the value of the data item.
Type, mixed
Gets or sets the type of the item (Header, Footer, Item, AlternatingItem, EditItem, SelectedItem, Separator)
This method overrides parent's implementation to bubble OnItemCommand event if an OnCommand event is bubbled from a child control. This method should only be used by control developers.