Partilhar via


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

Return Value

Type: System.Web.UI.WebControls.GridViewRow

See Also

Reference

SPGridView Class

SPGridView Members

Microsoft.SharePoint.WebControls Namespace