DbDatabaseRunQuery Method (String, String, IDataParameter, DataTable, String) |
Takes an existing DataTable and fills it with the results of the query.
Namespace:
Cadcorp.DataAccess
Assembly:
Cadcorp.GFB.DataAccess (in Cadcorp.GFB.DataAccess.dll) Version: 9.0.2618.0 (9.0.2618.0)
Syntaxprotected void RunQuery(
string connectionString,
string query,
IDataParameter[] parameters,
DataTable dataTable,
string provider
)
Protected Sub RunQuery (
connectionString As String,
query As String,
parameters As IDataParameter(),
dataTable As DataTable,
provider As String
)
Parameters
- connectionString
- Type: SystemString
String defining the database connection - query
- Type: SystemString
[Missing <param name="query"/> documentation for "M:Cadcorp.DataAccess.DbDatabase.RunQuery(System.String,System.String,System.Data.IDataParameter[],System.Data.DataTable,System.String)"]
- parameters
- Type: System.DataIDataParameter
Array of IDataParameter objects containing parameters to the query - dataTable
- Type: System.DataDataTable
The existing DataSet to be filled - provider
- Type: SystemString
[Missing <param name="provider"/> documentation for "M:Cadcorp.DataAccess.DbDatabase.RunQuery(System.String,System.String,System.Data.IDataParameter[],System.Data.DataTable,System.String)"]
See Also