GetDateTime method

Description

Gets 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

See also

“IsDBNull method”.