Прочетете на английски Редактиране

Споделяне чрез


OdbcCommand.IDbCommand.ExecuteReader Method

Definition

Overloads

IDbCommand.ExecuteReader()

This API supports the product infrastructure and is not intended to be used directly from your code.

Executes the CommandText against the Connection and builds an IDataReader.

IDbCommand.ExecuteReader(CommandBehavior)

This API supports the product infrastructure and is not intended to be used directly from your code.

Executes the CommandText against the Connection, and builds an IDataReader using the specified behavior.

IDbCommand.ExecuteReader()

Executes the CommandText against the Connection and builds an IDataReader.

This API supports the product infrastructure and is not intended to be used directly from your code.

C#
System.Data.IDataReader IDbCommand.ExecuteReader();

Returns

An IDataReader object.

Implements

Applies to

.NET Framework 1.1
Продукт Версии
.NET Framework 1.1

IDbCommand.ExecuteReader(CommandBehavior)

Executes the CommandText against the Connection, and builds an IDataReader using the specified behavior.

This API supports the product infrastructure and is not intended to be used directly from your code.

C#
System.Data.IDataReader IDbCommand.ExecuteReader(System.Data.CommandBehavior behavior);

Parameters

behavior
CommandBehavior

A bitwise combination of the enumeration values that specifies the command behavior.

Returns

An IDataReader object.

Implements

Applies to

.NET Framework 1.1
Продукт Версии
.NET Framework 1.1