2 Using the Data Providers : Binding Parameter Markers

Binding Parameter Markers
Parameter markers, including parameter markers for stored procedures, are supported by DataDirect Connect for ADO.NET data providers by using the "?" symbol in SQL statements, as shown in the following examples:
UPDATE emp SET job = ?, sal = ? WHERE empno = ?
SELECT * FROM table1 WHERE table1.colA = ? AND table1.colB IN (SELECT col1 FROM table2 WHERE table2.col2=?)
Because parameters are not named, the bindings must occur from left to right in the order of the parameters in the statement. This means that the calls to the Add() method on the ParameterCollection object (adding the Parameter objects to the collection) must occur in the order of the "?"s in the command text.