Ejemplo n.º 1
0
 private bool consultarConexion(clsUsuariosOPE objConsEst)
 {
     try
     {
         if (!objConsEst.consConex())
         {
             mostrarMsj(objConsEst.Error);
             objConsEst = null;
             return(false);
         }
         return(true);
     }
     catch (Exception ex)
     {
         mostrarMsj(ex.Message);
         return(false);
     }
 }
Ejemplo n.º 2
0
 private bool consultarConexion(clsUsuariosOPE objConsEst)
 {
     try
     {
         if (!objConsEst.consConex())
         {
             lblUserConex.Text = objConsEst.Error;
             objConsEst        = null;
             return(false);
         }
         return(true);
     }
     catch (Exception ex)
     {
         lblUserConex.Text = ex.Message;
         return(false);
     }
 }