CreateParameter Method

Provides an AseParameter object for supplying parameters to AseCommand objects.

Syntax

AseParameter CreateParameter( )

Return value

A new parameter, as an AseParameter object.

Usage

  • Stored procedures and some other SQL statements can take parameters, indicated in the text of a statement by the @name parameter.

  • The CreateParameter method provides an AseParameter object. You can set properties on the AseParameter to specify the value, datatype, and so on for the parameter.

Related concepts
AseParameter Class