title: Drop table in access using oledb in c#
body: <p>I am trying to delete the whole table created in access through coding in c#.</p>
  
  <p>I am currently using the following coding: </p>
  
  <pre><code>      string dstr = "DROP TABLE [" + in_table + "] ";
              OleDbCommand cmd1 = new OleDbCommand(dstr, con);
              cmd1.ExecuteNonQuery();
  </code></pre>
  
  <p>I am getting a syntax error in the above command. I try without square brackets also, but the error remains the same.</p>
  
  <p>I know there must be some silly mistake in the above command, but if anyone can put the correct command, I would be really thankful.</p>