Click or drag to resize
AbstractDataConnection.ExecuteQuery Method
Returns result of the query.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax
C#
public virtual DataSet ExecuteQuery(
	string queryText,
	QueryDataParameters queryParams,
	QueryTypeEnum queryType,
	bool requiresTransaction
)

Parameters

queryText
Type: System.String
Query or stored procedure to be run
queryParams
Type: CMS.DataEngine.QueryDataParameters
Query parameters
queryType
Type: CMS.DataEngine.QueryTypeEnum
Indicates it query is a SQL query or stored procedure
requiresTransaction
Type: System.Boolean
If true, the query should run within transaction

Return Value

Type: DataSet
See Also