Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- connection.Open(); //(- connection works)
- OleDbCommand command = new OleDbCommand();
- command.Connection = connection;
- command.CommandText = "INSERT INTO users(usr,pwd) VALUES('" + user.Text +
- "','" + pd.Text + "'" + ");";
- MessageBox.Show(command.CommandText);
- command.ExecuteReader();
- MessageBox.Show("DATA SAVED");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement