GridView.CreateRow Method
.NET Framework 3.0
Creates a row in the GridView control.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
protected: virtual GridViewRow^ CreateRow ( int rowIndex, int dataSourceIndex, DataControlRowType rowType, DataControlRowState rowState )
protected GridViewRow CreateRow ( int rowIndex, int dataSourceIndex, DataControlRowType rowType, DataControlRowState rowState )
protected function CreateRow ( rowIndex : int, dataSourceIndex : int, rowType : DataControlRowType, rowState : DataControlRowState ) : GridViewRow
Not applicable.
Parameters
- rowIndex
The index of the row to create.
- dataSourceIndex
The index of the data source item to bind to the row.
- rowType
One of the DataControlRowType values.
- rowState
One of the DataControlRowState values.
Return Value
A GridViewRow created using the specified parameters.Community Additions
ADD
Show:
Note: