title: DBF Files with dashes not working
body: <p>Trying to do some work reading and writing DBF files and I found this sample: <a href="http://www.aspcode.net/reading-dbf-files-in-c" rel="nofollow">http://www.aspcode.net/reading-dbf-files-in-c</a></p>
  
  <pre><code>System.Data.Odbc.OdbcConnection oConn = new System.Data.Odbc.OdbcConnection();
  oConn.ConnectionString = @"Driver={Microsoft dBase Driver (*.dbf)};SourceType=DBF;SourceDB=D:\databases\;Exclusive=No; Collate=Machine;NULL=NO;DELETED=NO;BACKGROUNDFETCH=NO;";
  oConn.Open();
  System.Data.Odbc.OdbcCommand oCmd = oConn.CreateCommand();
  oCmd.CommandText = @"SELECT * FROM D:\databases\thefile.dbf" ;
  DataTable dt = new DataTable();
  dt.Load(oCmd.ExecuteReader());
  oConn.Close();
  
  dataGridView1.DataSource = dt;
  </code></pre>
  
  <p>Only problem is it doesnt work if the file or folder name has a dash (-) in it. Is there a way I can make this query work with dashes in the names?</p>
  
  <p>eg. DBF File: <code>C:\Temp\bowlpos\07-10\01-07-10.DBF</code></p>