GridViewUpdateEventArgs(Int32) Constructor

Definition

Initializes a new instance of the GridViewUpdateEventArgs class.

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

Parameters

rowIndex
Int32

The index of the row being updated.

Remarks

Use this constructor to initialize a new instance of the GridViewUpdateEventArgs class using the specified row index.

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

Property Initial value
RowIndex The value contained in the rowIndex parameter.

Note

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

Applies to

See also