System.Web.UI.WebControls.DataGridItemCollection Class

Represents a collection of System.Web.UI.WebControls.DataGridItem objects in a System.Web.UI.WebControls.DataGrid control.

See Also: DataGridItemCollection Members

Syntax

public class DataGridItemCollection : ICollection

Remarks

The System.Web.UI.WebControls.DataGridItemCollection class represents a collection of System.Web.UI.WebControls.DataGridItem objects, which in turn represent the data items in a System.Web.UI.WebControls.DataGrid control. To programmatically retrieve System.Web.UI.WebControls.DataGridItem objects from a System.Web.UI.WebControls.DataGrid control, use one of following methods:

The DataGridItemCollection.Count property specifies the total number of items in the collection and is commonly used to determine the upper bound of the collection.

Requirements

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