Subscriber portal
Gets or sets the index of the row being edited.
public: property int NewEditIndex { int get(); void set(int value); }
The index of the row being edited.
Use the NewEditIndex property to determine the index of the row being edited. The row index is often used to retrieve this row from the Rows collection of the GridView control, which allows you to access the row's properties.
The following example demonstrates how to use the NewEditIndex property to determine the index of the row being edited.
GridViewCancelRowsGridViewEditEventArgs ClassSystem.Web.UI.WebControls Namespace