Click or drag to resize

DbDatabaseRunQuery Method (DbConnection, String, String, IDataParameter, DataSet, String, String)

Takes an existing DataSet and fills the given table name 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)
Syntax
protected void RunQuery(
	DbConnection connection,
	string connectionString,
	string query,
	IDataParameter[] parameters,
	DataSet dataSet,
	string tableName,
	string provider
)

Parameters

connection
Type: System.Data.CommonDbConnection

[Missing <param name="connection"/> documentation for "M:Cadcorp.DataAccess.DbDatabase.RunQuery(System.Data.Common.DbConnection,System.String,System.String,System.Data.IDataParameter[],System.Data.DataSet,System.String,System.String)"]

connectionString
Type: SystemString
String defining the database connection
query
Type: SystemString

[Missing <param name="query"/> documentation for "M:Cadcorp.DataAccess.DbDatabase.RunQuery(System.Data.Common.DbConnection,System.String,System.String,System.Data.IDataParameter[],System.Data.DataSet,System.String,System.String)"]

parameters
Type: System.DataIDataParameter
Array of IDataParameter objects containing parameters to the query
dataSet
Type: System.DataDataSet
The existing DataSet to be filled
tableName
Type: SystemString
Name to use for the table in the DataSet
provider
Type: SystemString

[Missing <param name="provider"/> documentation for "M:Cadcorp.DataAccess.DbDatabase.RunQuery(System.Data.Common.DbConnection,System.String,System.String,System.Data.IDataParameter[],System.Data.DataSet,System.String,System.String)"]

See Also