System.Web.UI.WebControls Namespace GridViewRowEventArgs Class
.NET Framework version 2.0
Initializes a new instance of the GridViewRowEventArgs class.
[ VB ]
Public Sub New ( _
ByVal row As GridViewRow _
)
[ C# ]
public GridViewRowEventArgs (
GridViewRow row
);
[ C++ ]
public: GridViewRowEventArgs (
GridViewRow* row
);
[ JScript ]
public function GridViewRowEventArgs (
row : GridViewRow
);
- row
- The GridViewRow associated with the event. The Row property is set to this value.
The following table shows initial property values for an instance of GridViewRowEventArgs.
Property |
Initial Value |
Row |
The value of the row parameter. |
The following example demonstrates how to initialize a new instance of the GridViewRowEventArgs class.
void Row_Created ( Object src, GridViewRowEventArgs e ) {
GridViewRowEventArgs row_arg = new GridViewRowEventArgs ( e.Row );
}
Sub Row_Created ( src As Object, e As GridViewRowEventArgs )
Dim row_arg As New GridViewRowEventArgs ( e.Row )
End Sub |
|
C# |
VB |
GridViewRowEventArgs Members