title: How to insert data in mysql database using C#
body: <pre><code>string query2 = "INSERT INTO library_database.status_of_issue VALUES('";
  query2 = query2 +textBox2.Text + "','";
  query2 = query2 + textBox1.Text + "', CURDATE(),ADDDATE(CURDATE(), INTERVAL 14 DAY)";
  cmd = new MySqlCommand(query2, con);
  MySqlDataReader d1 = cmd.ExecuteReader();
  MessageBox.Show("Issed...");
  d1.Close();
  </code></pre>