title: SqlCommand not adding data
body: <p>When I want to add data in my database it is not working; however, I can see the data in the data grid (my project is a windows forms project) </p>
  
  <p>My code :</p>
  
  <pre><code>string query = @"insert into produits
                      (ref_pdt, designation_pdt, quantite_pdt, prix_pdt)
                   values ('"+ tb_ref_add.Text + "','" + tb_des_add.Text + "','" + 
                      tb_qte_add.Text + "','" + tb_prix_add.Text + "')";
      SqlCommand cmd = new SqlCommand(query, loaddatabaseconnexion.connexion_BDD());
      SqlDataReader DataReader;
      try
      {
          DataReader = cmd.ExecuteReader();
          MessageBox.Show("Données sauvegardées !");
          formulaire_principal.tableau();
      }
      catch (Exception es)
      {
          MessageBox.Show(es.Message);
      }
  </code></pre>
  
  <p>Sorry for the mistakes I’m French ;)</p>