Sets the specified parameter to the given string value in the specified prepared statement object.
Syntax
setString( preparedstatement , index , string )
preparedstatement.setString( index , string )
Parameters
preparedstatement
|
the statement object to use.
|
index
|
the index of the column to set.
|
string
|
the string value to use.
|
Returns
Example
pstmt.setString( 1, s )
|