ExecuteDataSet Method (DbCommand)

Database.ExecuteDataSet Method (DbCommand)

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

Namespace:  Microsoft.Practices.EnterpriseLibrary.Data
Assembly:  Microsoft.Practices.EnterpriseLibrary.Data (in Microsoft.Practices.EnterpriseLibrary.Data.dll)

public virtual DataSet ExecuteDataSet(
	DbCommand command
)

Parameters

command
Type: System.Data.Common.DbCommand

The DbCommand to execute.

Return Value

A DataSet with the results of the command.
Show:
© 2016 Microsoft