Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (ADMINS != null)
- {
- while (ADMINS.Read())
- {
- this.dgvUsers.Rows.Add(ADMINS["id"], ADMINS["user"], ADMINS["privileges"]);
- }
- }
- if (ADMINS.HasRows)
- {
- while (ADMINS.Read())
- {
- if (ADMINS["user"].ToString() == "root")
- {
- MessageBox.Show("YES");
- }
- }
- }
Add Comment
Please, Sign In to add comment