DataGridItemCollection.Item Property (Int32)

 

Gets the DataGridItem object at the specified index in the collection.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public DataGridItem this[
	int index
] { get; }

Parameters

index
Type: System.Int32

The zero-based index of the DataGridItem to retrieve from the collection.

Property Value

Type: System.Web.UI.WebControls.DataGridItem

The DataGridItem at the specified index in the collection.

Use this indexer to get a DataGridItem object from the DataGridItemCollection collection at the specified index, using array notation.

.NET Framework
Available since 1.1
Return to top
Show: