dotConnect for SQL Server Documentation
Devart.Data.SqlServer Namespace / SqlDataReader Class / GetOrdinal Method
The name of the column.

In This Topic
    GetOrdinal Method (SqlDataReader)
    In This Topic
    Gets the column ordinal, given the name of the column.
    Syntax
    'Declaration
     
    Public Overrides Function GetOrdinal( _
       ByVal name As String _
    ) As Integer
    public override int GetOrdinal( 
       string name
    )

    Parameters

    name
    The name of the column.

    Return Value

    The column ordinal.
    See Also