dotConnect for SQL Server Documentation
Devart.Data.SqlServer Namespace / SqlDataReader Class / GetSqlDateTime Method / GetSqlDateTime(Int32) Method
The zero-based column ordinal.

In This Topic
    GetSqlDateTime(Int32) Method
    In This Topic
    Gets the value of the specified column as a Devart.Data.SqlServer.SqlTypes.SqlDateTime object.
    Syntax
    'Declaration
     
    Public Overloads Function GetSqlDateTime( _
       ByVal i As Integer _
    ) As SqlDateTime
    public SqlDateTime GetSqlDateTime( 
       int i
    )

    Parameters

    i
    The zero-based column ordinal.

    Return Value

    A Devart.Data.SqlServer.SqlTypes.SqlDateTime object.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also