DBStatement.BindInt Method

Binds a parameter in a prepared statement to a given integer value.

void BindInt(int param, int number, bool signed)

Parameters

int param

The parameter index (starting from 0).

int number

The number to bind.

bool signed

True to bind the number as signed, false to bind it as unsigned.

Errors

Invalid parameter index, or SQL error.