GridViewRow.GridViewRow Constructor
.NET Framework 3.0
Initializes a new instance of the GridViewRow class.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
public: GridViewRow ( int rowIndex, int dataItemIndex, DataControlRowType rowType, DataControlRowState rowState )
public GridViewRow ( int rowIndex, int dataItemIndex, DataControlRowType rowType, DataControlRowState rowState )
public function GridViewRow ( rowIndex : int, dataItemIndex : int, rowType : DataControlRowType, rowState : DataControlRowState )
Not applicable.
Parameters
- rowIndex
The index of the GridViewRow object in the Rows collection of a GridView control.
- rowType
One of the DataControlRowType enumeration values.
- rowState
A bitwise combination of the DataControlRowState enumeration values.
Use this constructor to initialize a new instance of a GridViewRow object.
The following table shows initial property values for an instance of GridViewRow.
| Property | Initial Value |
|---|---|
| The value of the dataItemIndex parameter. | |
| The value of the rowIndex parameter. | |
| The value of the rowState parameter. | |
| The value of the rowType parameter. |
Community Additions
ADD
Show: