skip to Main Content

Mysql Loop freeze Window in C#

I have mysql loop using (var conn = new MySqlConnection(connectionString)) { try { conn.Open(); int count = 1; foreach (var value in values) { MySqlCommand cmd; string qu = "INSERT INTO db(val1,val2,val3,val4,val5) VALUES("+value+")"; cmd = new MySqlCommand(qu, conn); cmd.ExecuteNonQuery(); textBox1.Text…

VIEW QUESTION
Back To Top
Search