Export (0) Print
Expand All

OdbcDataReader Members

OdbcDataReader overview

Public Properties

public propertyDepth Gets a value indicating the depth of nesting for the current row.
public propertyFieldCount Gets the number of columns in the current row.
public propertyHasRows Gets a value indicating whether the OdbcDataReader contains one or more rows.
public propertyIsClosed Indicates whether the OdbcDataReader is closed.
public propertyItem Overloaded. Gets the value of a column in its native format.

In C#, this property is the indexer for the OdbcDataReader class.

public propertyRecordsAffected Gets the number of rows changed, inserted, or deleted by execution of the SQL statement.

Public Methods

public methodClose Closes the OdbcDataReader 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 methodGetData Not currently supported.
public methodGetDate Gets the value of the specified column as a DateTime object.
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 OdbcDataReader.
public methodGetString Gets the value of the specified column as a String.
public methodGetTime 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 the OdbcDataReader to the next result, when reading the results of batch SQL statements.
public methodRead Advances the OdbcDataReader to the next record.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Protected Methods

protected methodFinalize Overridden. [To be supplied.]

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

OdbcDataReader Class | System.Data.Odbc Namespace

Show:
© 2015 Microsoft