Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Application Server

CreateCommand()

  • Last UpdatedNov 25, 2015
  • 1 minute read

Use the CreateCommand() method to create a new aaDBCommand object.

Syntax

aaDBCommand CreateCommand(
string CommandText,
aaDBCommandType CommandType,
bool ReturnDataset)

Parameters

You can also configure the newly created object by adding parameters and then executing them.

The parameters are identified in the SQL statement by the at sign (@) character when ProviderType is SQL.

The following SQL statement has one parameter, lastName:

"SELECT * FROM Person.Contact WHERE (LastName > @lastName)"

TitleResults for “How to create a CRG?”Also Available in