Advertisement
Guest User

Untitled

a guest
Nov 20th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. if (dt != null)
  2. {
  3. if (dt.Rows.Count > 0)
  4. {
  5. if (dt.Rows[0][3].ToString() == txtClave.Text)
  6. {
  7. MessageBox.Show("shingon");
  8. }
  9. else {
  10. MessageBox.Show("clave mal");
  11. }
  12. }
  13. else {
  14. MessageBox.Show("no hay usuarios con ese nombre");
  15. }
  16. }
  17. else {
  18. MessageBox.Show("Es nula");
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement