Esempio n. 1
0
        private void MostrarDatosActividadCobranza(string id_cobranza)
        {
            DataTable table = null;

            table = ConsultasEspecificas.MostrarDatosActividadCobranza(id_cobranza);
            if ((table.Rows.Count > 0) && (table != null))
            {
                this.txtNroOperacion.Text = table.Rows[0]["nrooperacion"].ToString();
                this.txtCliente.Text      = table.Rows[0]["cliente"].ToString();
                this.txtRutDeudor.Text    = table.Rows[0]["rut_deudor"].ToString();
                this.txtNomDeudor.Text    = table.Rows[0]["deudor"].ToString();
                CabezaPrejudicialDTO ldto = new CabezaPrejudicialDTO {
                    NroOperacion = table.Rows[0]["nrooperacion"].ToString(),
                    Nom_Cli      = table.Rows[0]["cliente"].ToString(),
                    Rut_Deudor   = table.Rows[0]["rut_deudor"].ToString(),
                    Nom_Deudor   = table.Rows[0]["deudor"].ToString()
                };
                this.Session["CabezeraActividadesPrejudicial"] = ldto;
            }
        }