編輯

共用方式為


GridViewUpdateEventArgs.RowIndex Property

Definition

Gets the index of the row being updated.

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

Property Value

The index of the row being updated.

Remarks

Use the RowIndex property to determine the index of the row being updated. The row index is often used to retrieve the corresponding row from the Rows collection of the GridView control, which allows you to access the row's properties.

Applies to

See also