Forum Discussion
rraghvani
2 years agoChampion Level 3
If you're using ODBC Microsoft.Jet.OLEDB.4.0, then creating a parameter will be e.g.
var Prm = Cmd.CreateParameter("MyParam", adChar, adParamInput, 20, "Canada");
The syntax of the command’s query depends on the ODBC you use. For instance, if you work with Microsoft.Jet.OLEDB.4.0 provider, you can specify parameters by their names. Other ODBC may use question marks (?) as parameter placeholders. Some ODBC may support both techniques, or use their own syntax.
Search the database provider's documentation for the ODBC you are using.
Related Content
- 12 years ago
- 10 years ago
- 12 years ago
- 5 years ago
Recent Discussions
- 6 days ago
- 6 days ago
- 10 days ago