COB logo COB honor code logo

 

BA371 C# — Database Communications

 

 select my_name from foo;

Try this out in Access itself by using its built-in SQL interpreter:

Try this before running your query through C#. A little trick-of-the-trade: before including SQL calls into your program code, always!! try them out using the SQL interpreter of the database software itself. That way you can exclude SQL errors from messing up your program.