Guest User

Untitled

a guest
Oct 28th, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. private void timer1_Tick(object sender, EventArgs e)
  2. {
  3. MySqlConnection conn = new MySqlConnection("server=...;user=...;database=...;password=...;");
  4. conn.Open();
  5. MySqlCommand command = new MySqlCommand("INSERT INTO...;", conn);
  6. command.ExecuteNonQuery();
  7. conn.Close();
  8. }
Add Comment
Please, Sign In to add comment