dotConnect for SQL Server Documentation
Devart.Common Namespace / DbDataReaderBase Class / IsDBNull Method / IsDBNull(Int32) Method
The zero-based column ordinal.

In This Topic
    IsDBNull(Int32) Method
    In This Topic
    Gets a value indicating whether the column contains non-existent or missing values.
    Syntax
    'Declaration
     
    Public Overloads Overrides Function IsDBNull( _
       ByVal ordinal As Integer _
    ) As Boolean
    public override bool IsDBNull( 
       int ordinal
    )

    Parameters

    ordinal
    The zero-based column ordinal.

    Return Value

    true if the specified column value is equivalent to System.DBNull; otherwise, false.
    Remarks
    To avoid raising an error, call this method to check for null column values before calling the typed Get methods (for example, GetBytes, GetChars, and so on).
    See Also