skip to Main Content

Javascript – change counter color in js

i want to change color to green when my counter number were grater than zero and change to red when counter less than zero const addBtn = document.getElementById(`add`); const resetBtn = document.getElementById(`reset`); const minusBtn = document.getElementById(`minus`); const counter = document.getElementById(`counter`);…

VIEW QUESTION

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