in C++ (VCL) I'm using TMyQuery to process SQL commands and the method ParamByName to access the parameters.
I cannot find the method.
Only the simple index method like
Code: Select all
sqlCommand.Parameters[0].Value = 60;
Thomas
Code: Select all
sqlCommand.Parameters[0].Value = 60;
Code: Select all
MySqlCommand comm = new MySqlCommand();
comm.Parameters; //returns the MySqlParameterCollection object for the corresponding MySqlCommand object.
Code: Select all
comm.Parameters["param"].Value = 60;