Click or drag to resize

DbDatabaseRunQuery Method (String, String, IDataParameter, String, String)

Runs a stored procedure, returning an ArrayList containing the specified fields from the result of the query. N.B. This method has been retained for backward compatibility. It is recommended that a strongly typed generic list is used instead of an ArrayList.

Namespace:  Cadcorp.DataAccess
Assembly:  Cadcorp.GFB.DataAccess (in Cadcorp.GFB.DataAccess.dll) Version: 9.0.2618.0 (9.0.2618.0)
Syntax
protected ArrayList RunQuery(
	string connectionString,
	string query,
	IDataParameter[] parameters,
	string[] fieldnames,
	string provider
)

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.String[],System.String)"]

parameters
Type: System.DataIDataParameter
Array of IDataParameter objects containing parameters to the query
fieldnames
Type: SystemString
Array of strings containing field names to retrieve
provider
Type: SystemString

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

Return Value

Type: ArrayList
A newly instantiated ArrayList object
See Also