GridViewEditEventArgs(Int32) Constructor

Definition

Initializes a new instance of the GridViewEditEventArgs class.

public:
 GridViewEditEventArgs(int newEditIndex);
public GridViewEditEventArgs (int newEditIndex);
new System.Web.UI.WebControls.GridViewEditEventArgs : int -> System.Web.UI.WebControls.GridViewEditEventArgs
Public Sub New (newEditIndex As Integer)

Parameters

newEditIndex
Int32

The index of the row to edit.

Remarks

Use this constructor to initialize a new instance of the GridViewEditEventArgs class.

The following table shows the initial property value for an instance of GridViewEditEventArgs.

Property Initial value
NewEditIndex The value of the newEditIndex parameter.

Note

This constructor is used primarily by control developers when raising events.

Applies to

See also