title: Message: System.Data.OleDb.OleDbException : Syntax error (missing operator) in query expression
body: <pre><code>public static void WriteData(string colName,string data)
  {
      using (OleDbConnection cn = new OleDbConnection(@"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + Constants.FileName + ";Extended Properties=\"Excel 8.0;HDR=NO;IMEX=3;READONLY=FALSE\""))
      {
          // string query = String.Format("INSERT INTO  [DataSet$]({0}) VALUES ({1})",colName, data);
  
          string query = String.Format("INSERT INTO  [DataSet$]({0}) VALUES ({1})", colName, data);
          cn.Open();
          OleDbCommand cmd = new OleDbCommand(query, cn);
          cmd.Parameters.AddWithValue("@colName", colName);
          cmd.Parameters.AddWithValue("@data", data);
  
          cmd.ExecuteNonQuery();
          cn.Close();
          cn.Dispose();
      }
  }
  </code></pre>