| TDengineStmtBindParam Method |
For both INSERT and SELECT.
bind a whole line data.
The usage of structure TAOS_BIND is the same with MYSQL_BIND in MySQL.
Namespace:
TDengineDriver
Assembly:
TDengineDriver (in TDengineDriver.dll) Version: 1.0.6
Syntax public static int StmtBindParam(
IntPtr stmt,
TAOS_BIND[] bind
)
Parameters
- stmt
- Type: SystemIntPtr
could be the value returned by 'StmtInit', that may be a valid object or NULL. - bind
- Type: TDengineDriverTAOS_BIND
points to an array contains the whole line data.
the item number and sequence should keep consistence with columns in sql statement.
Return Value
Type:
Int320 for success, non-zero for failure.
See Also