title: Trying to run an Access query from a c# application
body: <p>I have created a c# windows application that connects to an Access database.  </p>
  
  <p>My connection to the database is perfectly fine, but is there a way to run my Access developed queries so that the user can easily print the results?  I know I can create reports in c#, but just want to use the ones developed in Access already.  The query is qrySuppliers</p>
  
  <pre><code>// setup connection con to our database    
  OleDbConnection con = new OleDbConnection("Provider = 
  Microsoft.ACE.OLEDB.12.0; Data Source = Database3.accdb");
  
  // create command object and open it
  OleDbCommand cmd = con.CreateCommand();
  con.Open();
  </code></pre>