dotConnect for SQL Server Documentation
Devart.Data.SqlServer Namespace / SqlDataReader Class / GetSqlValue Method / GetSqlValue(String) Method
The name of the column to get value of.

In This Topic
    GetSqlValue(String) 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 name As String _
    ) As Object
    public object GetSqlValue( 
       string name
    )

    Parameters

    name
    The name of the column to get value of.

    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