Contents Index GetDataTypeName method GetDecimal method

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

GetDateTime method


Description 

The value of the specified column as a DateTime object.

Syntax 

DateTime GetDateTime( int ordinal )

Parameters 

ordinal    The zero-based column ordinal.

Return Value 

The value of the specified column.

Implements 

IDataRecord.GetDateTime

Usage 

No conversions are performed, so the data retrieved must already be a DateTime object.

Call AsaDataReader.IsDBNull to check for null values before calling this method.

See also 

IsDBNull method


Contents Index GetDataTypeName method GetDecimal method