Export (0) Print
Expand All

OleDbDataReader Methods

The methods of the OleDbDataReader class are listed here. For a complete list of OleDbDataReader class members, see the OleDbDataReader Members topic.

Public Methods

public methodClose Closes the OleDbDataReader object.
public methodCreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetBoolean Gets the value of the specified column as a Boolean.
public methodGetByte Gets the value of the specified column as a byte.
public methodGetBytes Reads a stream of bytes from the specified column offset into the buffer as an array starting at the given buffer offset.
public methodGetChar Gets the value of the specified column as a character.
public methodGetChars Reads a stream of characters from the specified column offset into the buffer as an array starting at the given buffer offset.
public methodGetDataTypeName Gets the name of the source data type.
public methodGetDateTime Gets the value of the specified column as a DateTime object.
public methodGetDecimal Gets the value of the specified column as a Decimal object.
public methodGetDouble Gets the value of the specified column as a double-precision floating point number.
public methodGetFieldType Gets the Type that is the data type of the object.
public methodGetFloat Gets the value of the specified column as a single-precision floating point number.
public methodGetGuid Gets the value of the specified column as a globally-unique identifier (GUID).
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetInt16 Gets the value of the specified column as a 16-bit signed integer.
public methodGetInt32 Gets the value of the specified column as a 32-bit signed integer.
public methodGetInt64 Gets the value of the specified column as a 64-bit signed integer.
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodGetName Gets the name of the specified column.
public methodGetOrdinal Gets the column ordinal, given the name of the column.
public methodGetSchemaTable Returns a DataTable that describes the column metadata of the OleDbDataReader.
public methodGetString Gets the value of the specified column as a string.
public methodGetTimeSpan Gets the value of the specified column as a TimeSpan object.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodGetValue Gets the value of the column at the specified ordinal in its native format.
public methodGetValues Gets all the attribute columns in the current row.
public methodInitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public methodIsDBNull Gets a value indicating whether the column contains non-existent or missing values.
public methodNextResult Advances the data reader to the next result, when reading the results of batch SQL statements.
public methodRead Advances the OleDbDataReader to the next record.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Protected Methods

protected methodFinalize Overridden. Frees resources before the OleDbDataReader is reclaimed by the Garbage Collector.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

OleDbDataReader Class | System.Data.OleDb Namespace

Show:
© 2014 Microsoft