title: C# Syntax Error - INSERT INTO statement. Access Database.
body: <p>This is my code which I am getting syntax error in my <code>INSERT statement</code> for:</p>
  
  <pre><code>string strSql = "INSERT INTO Responses (OCR, DeadlineDate, OCR Title) VALUES ('"+textBox5.Text+"','"+textBox7.Text+"', '"+textBox6.Text+"')";
  
  OleDbConnection newConn = new OleDbConnection(strProvider);
  OleDbCommand dbCmd = new OleDbCommand(strSql, newConn);
  
  newConn.Open();
  dbCmd.ExecuteNonQuery();
  </code></pre>
  
  <p>any ideas?</p>