コード例 #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!this.Page.IsPostBack && !string.IsNullOrEmpty(base.Request.QueryString["Codigo"]))
     {
         string idcobranza = base.Request.QueryString["Codigo"].ToString();
         this.hiddidjuicio.Value        = idcobranza.ToString();
         this.Grilla.PagerSettings.Mode = PagerButtons.Numeric;
         this.CargaGrilla(idcobranza);
         CabezaCuotaColegio colegio = new CabezaCuotaColegio();
         colegio = (CabezaCuotaColegio)this.Session["Cuotacolegio"];
         if (colegio != null)
         {
             this.txtCliente.Text    = colegio.Cli;
             this.txtdeudor.Text     = colegio.Deudor;
             this.txtNoperacion.Text = colegio.Nro_Operacion;
             this.txtproducto.Text   = colegio.Producto;
             CobranzaDTO adto = new CobranzaDTO();
             adto = (CobranzaDTO)this.Session["Cobranza"];
             if (adto.Id_Materia.ToString() == "2")
             {
                 this.Label1.Text = "COBRO PAGAR\x00c9";
             }
             if (adto.Id_Materia.ToString() == "5")
             {
                 this.Label1.Text = "CUMPLIMIENTO OBLIGATORIO DE DAR";
             }
             if (adto.Id_Materia.ToString() == "25")
             {
                 this.Label1.Text = "CUMPLIMIENTO OBLIGATORIO DE HACER";
             }
         }
     }
 }
コード例 #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!this.Page.IsPostBack && !string.IsNullOrEmpty(base.Request.QueryString["Codigo"]))
     {
         string idcobranza = base.Request.QueryString["Codigo"].ToString();
         this.hiddidjuicio.Value        = idcobranza.ToString();
         this.Grilla.PagerSettings.Mode = PagerButtons.Numeric;
         this.CargaGrilla(idcobranza);
         CabezaCuotaColegio colegio = new CabezaCuotaColegio();
         colegio = (CabezaCuotaColegio)this.Session["Cuotacolegio"];
         if (colegio != null)
         {
             this.txtCliente.Text    = colegio.Cli;
             this.txtdeudor.Text     = colegio.Deudor;
             this.txtNoperacion.Text = colegio.Nro_Operacion;
             this.txtproducto.Text   = colegio.Producto;
             CobranzaDTO adto = new CobranzaDTO();
             adto = (CobranzaDTO)this.Session["Cobranza"];
             if (adto.Id_Materia.ToString() == "1")
             {
                 this.Label1.Text = "COBRO CHEQUE";
             }
             if (adto.Id_Materia.ToString() == "4")
             {
                 this.Label1.Text = "COBRO LETRA DE CAMBIO";
             }
             if (adto.Id_Materia.ToString() == "7")
             {
                 this.Label1.Text = "NOTIFICACION PROTESTO CHEQUE";
             }
             if (adto.Id_Materia.ToString() == "8")
             {
                 this.Label1.Text = "NOTIFICACION PROTESTO LETRA";
             }
             if (adto.Id_Materia.ToString() == "10")
             {
                 this.Label1.Text = "CITACI\x00d3N A CONFESAR DEUDA";
             }
             if (adto.Id_Materia.ToString() == "11")
             {
                 this.Label1.Text = "CITACI\x00d3N A CONFESAR DEUDA, RECONOCIMIENTO FIRMA";
             }
             if (adto.Id_Materia.ToString() == "26")
             {
                 this.Label1.Text = "COBRO FACTURA";
             }
             if (adto.Id_Materia.ToString() == "28")
             {
                 this.Label1.Text = "NOTIFICACI\x00d3N FACTURA";
             }
         }
     }
 }
コード例 #3
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!this.Page.IsPostBack && !string.IsNullOrEmpty(base.Request.QueryString["Codigo"]))
     {
         string idcobranza = base.Request.QueryString["Codigo"].ToString();
         this.hiddidjuicio.Value        = idcobranza.ToString();
         this.Grilla.PagerSettings.Mode = PagerButtons.Numeric;
         this.CargaGrilla(idcobranza);
         CabezaCuotaColegio colegio = new CabezaCuotaColegio();
         colegio = (CabezaCuotaColegio)this.Session["Cuotacolegio"];
         if (colegio != null)
         {
             this.txtCliente.Text    = colegio.Cli;
             this.txtdeudor.Text     = colegio.Deudor;
             this.txtNoperacion.Text = colegio.Nro_Operacion;
             this.txtproducto.Text   = colegio.Producto;
             CobranzaDTO adto = new CobranzaDTO();
             adto = (CobranzaDTO)this.Session["Cobranza"];
             if (adto.Id_Producto.ToString() == "1")
             {
                 this.Label1.Text = "PAGARES INGRESADOS";
             }
             if (adto.Id_Producto.ToString() == "2")
             {
                 this.Label1.Text = "CHEQUES INGRESADOS";
             }
             if (adto.Id_Producto.ToString() == "3")
             {
                 this.Label1.Text = "CUOTAS INGRESADAS";
             }
             if (adto.Id_Producto.ToString() == "5")
             {
                 this.Label1.Text = "LETRAS INGRESADAS";
             }
             if (adto.Id_Producto.ToString() == "6")
             {
                 this.Label1.Text = "FACTURAS INGRESADAS";
             }
             if (adto.Id_Producto.ToString() == "7")
             {
                 this.Label1.Text = "OTROS INGRESADOS";
             }
         }
     }
 }