MySqlCommand cmd = new MySqlCommand("CREATE TABLE MyTable (ID Integer, Data varchar(50))", conn);
cmd.ExecuteNonQuery();
cmd = new MySqlCommand("INSERT INTO MyTable (ID, Data) VALUES (1, 'May11 2021');", conn);cmd.ExecuteNonQuery();
cmd = new MySqlCommand("INSERT INTO MyTable (ID, Data) VALUES (1, 'May11 2021');", conn);
https://docs.oracle.com/javaee/5/tutorial/doc/bnair.html
No comments:
Post a Comment