Contents Index IsClosed property Item property

ASA Programming Guide
  Adaptive Server Anywhere .NET Data Provider API Reference
    AsaDataReader class

IsDBNull method


Description 

A value indicating whether the column contains null values.

Syntax 

bool IsDBNull( int ordinal )

Parameters 

ordinal    The zero-based column ordinal.

Return value 

True if the specified column value is equivalent to DBNull. Otherwise, false.

Implements 

IDataRecord.IsDbNull

Usage 

Call this method to check for null column values before calling the typed get methods (for example, GetByte, GetChar, and so on) to avoid raising an exception.


Contents Index IsClosed property Item property