public bool Autentificar() { bool retorno = false; dt = db.BuscarDb(string.Format("Select *from Usuarios where Nombre = '" + Nombre + "' and Clave = '" + Clave + "'")); if (dt.Rows.Count > 0) { retorno = true; } return retorno; }