Gray_code_element

Tuesday, May 11, 2021

Creating a Table in MySQL and Inserting some data

 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();

No comments:

Post a Comment

Arduino HTTP Request

This worked on April 11, 2025 for an Arduino R4 using the Arduino Desktop IDE on a Windows 11 computer.  Make Sure that the Arduino IDE is u...