Пример #1
0
        private void MostrarDatosActividadExhorto(string id_exhorto)
        {
            DataTable table = null;

            table = ConsultasEspecificas.MostrarDatosActividadExhorto(id_exhorto);
            if ((table.Rows.Count > 0) && (table != null))
            {
                this.txtNroOperacion.Text    = table.Rows[0]["nrooperacion"].ToString();
                this.txtCliente.Text         = table.Rows[0]["nomcliente"].ToString();
                this.txtRolExhorto.Text      = table.Rows[0]["rol_exhorto"].ToString();
                this.txtTribunalExhorto.Text = table.Rows[0]["tribunalexh"].ToString();
                this.txtRutDeudor.Text       = table.Rows[0]["rut_deudor"].ToString();
                this.txtNomDeudor.Text       = table.Rows[0]["nomdeudor"].ToString();
                this.txtRoljuicio.Text       = table.Rows[0]["rol"].ToString();
                this.txtTribunaljuicio.Text  = table.Rows[0]["tribunal"].ToString();
                this.txtTipoExhorto.Text     = table.Rows[0]["tipoexh"].ToString();
                this.txtReceptor.Text        = table.Rows[0]["receptor"].ToString();
                CabezeraActividadesExhortoDTO odto = new CabezeraActividadesExhortoDTO {
                    Deudor         = table.Rows[0]["nomdeudor"].ToString(),
                    Noperacion     = table.Rows[0]["nrooperacion"].ToString(),
                    Rol            = table.Rows[0]["rol_exhorto"].ToString(),
                    Tribunal       = table.Rows[0]["tribunalexh"].ToString(),
                    Roljuicio      = table.Rows[0]["rol"].ToString(),
                    Tribunaljuicio = table.Rows[0]["tribunal"].ToString()
                };
                this.Session["CabezeraActividadesExhorto"] = odto;
            }
        }