title: Why is text box value not inserting into database?
body: <p>I want to insert document number into <code>adjustments_config</code> table in the vm server like this:</p>
  
  <pre><code>public string conString = "Data Source=vmrserver;Initial Catalog=Commission_web;Integrated Security=True";
  
  SqlConnection con = new SqlConnection(conString);
  con.Open();
  
  if(con.State == System.Data.ConnectionState.Open)
  {
      string q = "insert into adjustments_config(document_number)values('" + TextBoxDocNo.Text + "')";
      SqlCommand cmd = new SqlCommand(q, con);
      cmd.ExecuteNonQuery();
      Response.Redirect("About.aspx");
  }
  </code></pre>