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

In This Topic
    GetSqlValue(Int32) Method
    In This Topic
    Gets the value of the specified column. If possible, a provider-specific type is used.
    Syntax
    'Declaration
     
    Public Overloads Function GetSqlValue( _
       ByVal i As Integer _
    ) As Object
    public object GetSqlValue( 
       int i
    )

    Parameters

    i
    The zero-based column ordinal.

    Return Value

    The value to return.
    Remarks
    This method returns System.DBNull for null database columns.
    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