V
VMI
This is how I create a string that I will then send to my ODBC class for an
INSERT into mysql:
sSQL = String.Format("insert into myTable (field1, field2) values (" + '"' +
"{0}" + '"' + ", {1})", "THIS IS A TEST", 2032);
The result is sSQL equals
"insert into myTable (field1, field2) values (\"THIS IS A TEST\", 2032)"
how can I eliminate that slash? mysql doesn't recognize the slash in the
INSERT statement.
Thanks.
INSERT into mysql:
sSQL = String.Format("insert into myTable (field1, field2) values (" + '"' +
"{0}" + '"' + ", {1})", "THIS IS A TEST", 2032);
The result is sSQL equals
"insert into myTable (field1, field2) values (\"THIS IS A TEST\", 2032)"
how can I eliminate that slash? mysql doesn't recognize the slash in the
INSERT statement.
Thanks.