GetValue Method

OleDbDataReader.GetValue Method

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

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

virtual Object^ GetValue (
	int ordinal
) override
public Object GetValue (
	int ordinal
public override function GetValue (
	ordinal : int
) : Object



The zero-based column ordinal.

Return Value

The value to return.

This method returns DBNull for null database columns.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

Community Additions

© 2016 Microsoft