Hello everyone. Please help me figure it out. I have a form . And there is a table in the database
How can I make the program so that when you click on the "Update" button, the program will enter the data in the appropriate fields? I tried to do it myself, but it didn't work out: That's what I tried to do.
MySqlCommand cmd = new MySqlCommand("UPDATE Settings SET sitename = '" + "" + "', keywords = '" + textBox2.Text + "', description = '" + textBox3.Text + "', seconds = '" + numericUpDown1.Value + "', domen = '" + textBox1.Text + ");");