Expand Minimize
This topic has not yet been rated - Rate this topic

SqlCeResultSet.GetDateTime Method

Returns the value of the column at the specified index as a DateTime.

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)
public override DateTime GetDateTime(
	int ordinal
)

Parameters

ordinal
Type: System.Int32
The ordinal position of the column from which to retrieve data.

Return Value

Type: System.DateTime
The value of the column at the specified index.

Implements

IDataRecord.GetDateTime(Int32)

An exception is thrown if no field exists at the specified ordinal position.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.