Ejemplo n.º 1
0
        protected void Fnt_ConsultarCliente(String id)
        {
            ClsCliente_Negocio ObjConsultar = new ClsCliente_Negocio();

            ObjConsultar.Fnt_ConsultarCliente(id);
            TxtNombres.Text = ObjConsultar.aux[0];
        }
Ejemplo n.º 2
0
        protected void Fnt_AgregarCliente()
        {
            ClsCliente_Negocio ObjCliente = new ClsCliente_Negocio();

            ObjCliente.Fnt_AgregarCliente(TxtIdentificacion.Text, TxtNombres.Text, TxtContacto.Text, TxtCorreo.Text, TxtEdad.Text, TxtIngresos.Text, TxtEmpresa.Text,
                                          TxtContactoEmpresa.Text, Convert.ToString(CbxSexo.SelectedValue), Convert.ToString(CbxEstadoCivil.SelectedValue));
            LblMensajeC.Text = ObjCliente.msn;
        }
Ejemplo n.º 3
0
        public void Fnt_CambiarClave()
        {
            ClsCliente_Negocio ObjCambiarClave = new ClsCliente_Negocio();

            ObjCambiarClave.Fnt_CambiarClave(LblUsuario.Text, TxtClaveAnterior.Text, TxtNuevaClave.Text, TxtConfirmarClave.Text);
            //LblMensaje.Text = ObjCambiarClave.msn;
            MessageBox.Show(ObjCambiarClave.msn);
        }
Ejemplo n.º 4
0
        protected void Fnt_CalcularCuota()
        {
            ClsCliente_Negocio ObjCalcularCuota = new ClsCliente_Negocio();

            ObjCalcularCuota.Fnt_CalcularCuota(TxtMonto.Text, Convert.ToInt32(CbxPlazo.Text));
            TxtCuota.Text            = Convert.ToString(ObjCalcularCuota.cuota2);
            TxtTotal.Text            = Convert.ToString(ObjCalcularCuota.total);
            CbxInteres.SelectedIndex = Convert.ToInt32(ObjCalcularCuota.pos);
        }
Ejemplo n.º 5
0
        protected void Fnt_ActualizarCliente()
        {
            ClsCliente_Negocio ObjActulizar = new ClsCliente_Negocio();

            ObjActulizar.Fnt_Actualizar
            (
                TxtIdentificacion.Text, TxtContacto.Text,
                TxtCorreo.Text, TxtEdad.Text,
                TxtIngresos.Text, TxtEmpresa.Text,
                TxtContactoEmpresa.Text, Convert.ToString(CbxEstadoCivil.SelectedValue)
            );
            LblMensajeC.Text = ObjActulizar.msn;
        }
Ejemplo n.º 6
0
        protected void Fnt_ConsultarCliente()
        {
            ClsCliente_Negocio ObjConsultar = new ClsCliente_Negocio();

            ObjConsultar.Fnt_ConsultarCliente(TxtIdentificacion.Text);
            TxtNombres.Text              = ObjConsultar.aux[0];
            TxtContacto.Text             = ObjConsultar.aux[1];
            TxtCorreo.Text               = ObjConsultar.aux[2];
            TxtEdad.Text                 = ObjConsultar.aux[3];
            TxtIngresos.Text             = ObjConsultar.aux[4];
            TxtEmpresa.Text              = ObjConsultar.aux[5];
            TxtContactoEmpresa.Text      = ObjConsultar.aux[6];
            CbxSexo.SelectedIndex        = Convert.ToInt32(ObjConsultar.aux[7]);
            CbxEstadoCivil.SelectedIndex = Convert.ToInt32(ObjConsultar.aux[8]);
            LblMensajeC.Text             = ObjConsultar.msn;
            if (LblMensajeC.Text == "")
            {
                Fnt_BloqueoTeclado();
            }
        }