Final form of parametric SQL commands in ADO.NET

Posted by mcoolbeth on Stack Overflow See other posts from Stack Overflow or by mcoolbeth
Published on 2010-04-28T19:26:58Z Indexed on 2010/04/28 19:37 UTC
Read the original article Hit count: 439

Filed under:
|
|
|

I am getting a syntax error when I send a parameterized query to Access from my C# program via ADO.NET.

I, of course, know what SQL string I have included in my code, with the parameter names embedded inside.

Does anyone know how I can look at the SQL string that is finally sent to the DBMS during after I call cmd.ExecuteNonQuery?

Thanks.

© Stack Overflow or respective owner

Related posts about c#

Related posts about odbc