DataAccessFillTableFromQuery Method (String, Hashtable, DataSet, String, Int32, Int32, Boolean) |
Load the specified table of a given dataset with the results of the specified select SQL query
Namespace:
WorkflowGen.My.Data
Assembly:
WorkflowGen.My (in WorkflowGen.My.dll) Version: 4.0.0.0 (4.0.0.0)
Syntax public void FillTableFromQuery(
string sqlQuery,
Hashtable parameters,
DataSet dataSet,
string tableIdentifier,
int pageNumber,
int pageSize,
bool countTotalRows
)
Public Sub FillTableFromQuery (
sqlQuery As String,
parameters As Hashtable,
dataSet As DataSet,
tableIdentifier As String,
pageNumber As Integer,
pageSize As Integer,
countTotalRows As Boolean
)
Parameters
- sqlQuery
- Type: SystemString
A select SQL query - parameters
- Type: System.CollectionsHashtable
A collection of parameters - dataSet
- Type: System.DataDataSet
The dataset to fill - tableIdentifier
- Type: SystemString
A table name identifier - pageNumber
- Type: SystemInt32
The record number to start with - pageSize
- Type: SystemInt32
The number of records per page - countTotalRows
- Type: SystemBoolean
A boolean which determines whether or not to count the total number of rows regardless the paging settings
See Also