แก้ไข

แชร์ผ่าน


GridViewCancelEditEventArgs(Int32) Constructor

Definition

Initializes a new instance of the GridViewCancelEditEventArgs class.

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

Parameters

rowIndex
Int32

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

Remarks

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

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

Property Initial value
RowIndex The value of the rowIndex parameter.

Note

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

Applies to

See also