OleDbDataReader.GetValue Method (Int32)

 

Gets the value of the column at the specified ordinal in its native format.

Namespace:   System.Data.OleDb
Assembly:  System.Data (in System.Data.dll)

public override object GetValue(
	int ordinal
)

Parameters

ordinal
Type: System.Int32

The zero-based column ordinal.

Return Value

Type: System.Object

The value to return.

This method returns DBNull for null database columns.

.NET Framework
Available since 1.1
Return to top
Show: