DetailsViewRow.RowIndex Property

Definition

Gets the index of the DetailsViewRow object in the Rows collection of the DetailsView control.

public:
 virtual property int RowIndex { int get(); };
public virtual int RowIndex { get; }
member this.RowIndex : int
Public Overridable ReadOnly Property RowIndex As Integer

Property Value

The index of the DetailsViewRow in the Rows collection of the DetailsView control.

Remarks

Use the RowIndex property to determine the index of a DetailsViewRow object in the Rows collection of the DetailsView control.

Note

This property applies only to data rows.

Applies to

See also