cmd.CommandText = "INSERT INTO Table1 (username,password,gender) VALUES (@username,@password,gender)"; cmd.Parameters.AddWithValue("@username", textBox1.Text); cmd.Parameters.AddWithValue("@password", textBox2.Text);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)