IDataEngine.RetrieveDataForSQLStatement

Retrieves the data for the specified SQL statement.

public DataTable RetrieveDataForSQLStatement(object sql,
	String[] parameters,
	string datasourcename,
	IDatabase database)

Return Value

A DataTable containing the data from the database for the specified SQL statement.

Parameters

sql
The SQL statement.

parameters
The parameters for the query

datasourcename
The name of the datasource to connect to.

database
The database this query should execute against

Overloads:


See also:

Interface IDataEngine