title: Insert float values to Access
body: <p>This is my code, which inserts values in MS Access. But it doesn't insert float values, like <code>0.45</code>. The column datatype is <code>text</code></p>
  
  <pre><code>private void button1_Click(object sender, EventArgs e)
  {
      OleDbCommand cmd = con.CreateCommand();
      con.Open();
      cmd.CommandText = "insert into hhh VALUES('" + textBox1.Text + "','" +textBox2.Text + "','" + textBox3.Text + "','" + textBox4.Text + "')";
      cmd.Connection = con;
      cmd.ExecuteNonQuery();
      MessageBox.Show("Record Submitted", "Congrats");
      con.Close();
  }
  </code></pre>