GridViewDeleteEventArgs(Int32) Constructor

Definition

Initializes a new instance of the GridViewDeleteEventArgs class.

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

Parameters

rowIndex
Int32

The index of the row that contains the Delete button that raised the event.

Remarks

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

Property Initial value
RowIndex The value of the rowIndex parameter.

Note

This constructor is primarily used by control developers when they raise events.

Applies to

See also