Partilhar via


Database.ExecuteDataSet Method

Include Protected Members
Include Inherited Members

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Overload List

  Name Description
Public method ExecuteDataSet(DbCommand)

Executes the command and returns the results in a new DataSet.

Public method ExecuteDataSet(CommandType, String)

Executes the commandText interpreted as specified by the commandType and returns the results in a new DataSet.

Public method ExecuteDataSet(DbCommand, DbTransaction)

Executes the command as part of the transaction and returns the results in a new DataSet.

Public method ExecuteDataSet(String, array<Object>)

Executes the storedProcedureName with parameterValues and returns the results in a new DataSet.

Public method ExecuteDataSet(DbTransaction, CommandType, String)

Executes the commandText as part of the given transaction and returns the results in a new DataSet.

Public method ExecuteDataSet(DbTransaction, String, array<Object>)

Executes the storedProcedureName with parameterValues as part of the transaction and returns the results in a new DataSet within a transaction.

See Also

Database Class

Database Members

Microsoft.Practices.EnterpriseLibrary.Data Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.