Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (dt != null)
- {
- if (dt.Rows.Count > 0)
- {
- if (dt.Rows[0][3].ToString() == txtClave.Text)
- {
- MessageBox.Show("shingon");
- }
- else {
- MessageBox.Show("clave mal");
- }
- }
- else {
- MessageBox.Show("no hay usuarios con ese nombre");
- }
- }
- else {
- MessageBox.Show("Es nula");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement