System.Web.UI.WebControls.GridViewRow.RowIndex Property

Gets the index of the System.Web.UI.WebControls.GridViewRow object in the GridView.Rows collection of a System.Web.UI.WebControls.GridView control.

Syntax

public virtual int RowIndex { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the GridViewRow.RowIndex property to determine the index of the System.Web.UI.WebControls.GridViewRow object in the GridView.Rows collection of a System.Web.UI.WebControls.GridView control.

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