System.Web.UI.WebControls.GridViewRow.DataItemIndex Property

Gets the index of the GridViewRow.DataItem in the underlying System.Data.DataSet.

Syntax

public virtual int DataItemIndex { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the GridViewRow.DataItemIndex property to determine the index of the GridViewRow.DataItem in the underlying System.Data.DataSet.

Note:

This property applies only to data rows.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0