I am trying to pass a DateTime value to my FoxPro database in C# and getting the following exception
ERROR  [Microsoft][ODBC Visual FoxPro Driver]Operator/operand type mismatch.
I have tried passing value in many different ways such via query string, or inline with query but failed.
I am only getting this exception while passing the DateTime, I can pass any other data type in the query.
Your help is much appreciated.