title: date time now format
body: <p>Hi I try to insert into DB date time and the Column is date  type what I need to do?
  this  is the code</p>
  
  <pre><code>  string query = "INSERT INTO Feedback (user_Name, date_of_, Praise)  VALUES     ('"+TextBox1.Text+"',"+DateTime.Now+",'"+TextBox2.Text+"')";
      SqlCommand cmd = new SqlCommand(query, con);
      con.Open();
      cmd.ExecuteNonQuery();
      con.Close();
  </code></pre>