Click or drag to resize
DataAccess.ExecuteQuery Method (DbDataAdapter, String, Int32, Int32, Boolean)
Returns a dataset loaded with the results of the specified select SQL query

Namespace: WorkflowGen.My.Data
Assembly: WorkflowGen.My (in WorkflowGen.My.dll) Version: 2.4.0.0 (2.4.0.0)
Syntax
public DataSet ExecuteQuery(
	DbDataAdapter adapter,
	string tableIdentifier,
	int pageNumber,
	int pageSize,
	bool countTotalRows
)

Parameters

adapter
Type: System.Data.Common.DbDataAdapter
A data adapter to use
tableIdentifier
Type: System.String
A table name identifier
pageNumber
Type: System.Int32
The record number to start with
pageSize
Type: System.Int32
The number of records per page
countTotalRows
Type: System.Boolean
A boolean which determines whether or not to count the total number of rows regardless the paging settings

Return Value

Type: DataSet
The loaded dataset
See Also