A TDataGridItem control represents an item in the TDataGrid control, such as heading section, footer section, data item, or pager section. The item type can be determined by Type property. The data items are stored in the Items property of TDataGrid control. The index and data value of the item can be accessed via Index and Data properties, respectively.
Since TDataGridItem inherits from TTableRow, you can also access the Cells property to get the table cells in the item.
Namespace: System.Web.UI.WebControls
Properties
ItemIndex, mixed
Gets or sets the index of the data item in the Items collection of datagrid.
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.