Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IDbCommand Methods

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

Public Methods

public methodCancel

Supported by the .NET Compact Framework.

Attempts to cancels the execution of an IDbCommand.
public methodCreateParameter

Supported by the .NET Compact Framework.

Creates a new instance of an IDbDataParameter object.
public methodExecuteNonQuery

Supported by the .NET Compact Framework.

Executes an SQL statement against the Connection object of a .NET Framework data provider, and returns the number of rows affected.
public methodExecuteReader

Supported by the .NET Compact Framework.

Overloaded. Executes the CommandText against the Connection and builds an IDataReader.
public methodExecuteScalar

Supported by the .NET Compact Framework.

Executes the query, and returns the first column of the first row in the resultset returned by the query. Extra columns or rows are ignored.
public methodPrepare

Supported by the .NET Compact Framework.

Creates a prepared (or compiled) version of the command on the data source.

See Also

IDbCommand Interface | System.Data Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.