setStringParameter method

Sets the value for the specified parameter.

Syntax
setStringParameter( UInt16 parameterID, String value )
Parameters
  • parameterID   The ID number of the parameter. The first parameter in the result set has an ID value of one.

  • value   The new value for the parameter.

Example

The following statement sets the value for the first parameter to ABC:

stmt.setStringParameter( 1, "ABC" );