title: Incorrect syntax near ')'. when trying to insert values into the database
body: <p>I'm new and this is my first question.</p>
  
  <p>I'm trying to insert a value into the database and I get the error message</p>
  
  <blockquote>
    <p>Incorrect syntax near ')'. </p>
  </blockquote>
  
  <p>and <code>cmd.ExecuteNonQuery()</code> gets highlighted. Here's my code:</p>
  
  <pre><code>con.Open()
  cmd = New SqlCommand("INSERT INTO orders ('" + IDProduct.Text + "')", con)
  cmd.ExecuteNonQuery()
  con.Close()
  </code></pre>