GetData Method

DbDataReader.GetData Method (Int32)

 

Returns a DbDataReader object for the requested column ordinal.

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

public DbDataReader GetData(
	int ordinal
)

Parameters

ordinal
Type: System.Int32

The zero-based column ordinal.

Return Value

Type: System.Data.Common.DbDataReader

A DbDataReader object.

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft