SPGridView.CreateRow Method
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Protected Overrides Function CreateRow ( _
rowIndex As Integer, _
dataSourceIndex As Integer, _
rowType As DataControlRowType, _
rowState As DataControlRowState _
) As GridViewRow
'Usage
Dim rowIndex As Integer
Dim dataSourceIndex As Integer
Dim rowType As DataControlRowType
Dim rowState As DataControlRowState
Dim returnValue As GridViewRow
returnValue = Me.CreateRow(rowIndex, _
dataSourceIndex, rowType, rowState)
protected override GridViewRow CreateRow(
int rowIndex,
int dataSourceIndex,
DataControlRowType rowType,
DataControlRowState rowState
)
Parameters
rowIndex
Type: System.Int32Row index.
dataSourceIndex
Type: System.Int32Data source index
rowType
Type: System.Web.UI.WebControls.DataControlRowTypeRow type
rowState
Type: System.Web.UI.WebControls.DataControlRowStateRow state
Return Value
Type: System.Web.UI.WebControls.GridViewRow