System.Web.UI.WebControls.GridViewCancelEditEventArgs.RowIndex Property

Gets the index of the row containing the Cancel button that raised the event.

Syntax

public int RowIndex { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the GridViewCancelEditEventArgs.RowIndex property to determine the index of the row that contains the Cancel button clicked by the user. The row index is often used to retrieve this row from the GridView.Rows collection of the System.Web.UI.WebControls.GridView control, which allows you to access the row's properties.

Requirements

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