示例#1
0
        private string MostrarDatosJuicio(string id_cobranza)
        {
            string    str   = "";
            DataTable table = null;

            table = ConsultasEspecificas.MostrarDatosCabezeraAbonos(id_cobranza);
            if ((table.Rows.Count > 0) && (table != null))
            {
                this.txtNroOperacion.Text = table.Rows[0]["nrooperacion"].ToString();
                this.txtCliente.Text      = table.Rows[0]["nomcliente"].ToString();
                this.txtNomDeudor.Text    = table.Rows[0]["nomdeudor"].ToString();
                this.txtRutDeudor.Text    = table.Rows[0]["rut_deudor"].ToString();
                str = table.Rows[0]["tipocobranza"].ToString();
            }
            return(str);
        }
示例#2
0
        private string MostrarDatosJuicio()
        {
            DataTable table = ConsultasEspecificas.MostrarDatosCabezeraAbonos(hiddidcobranza.Value);

            if (table != null && table.Rows.Count > 0)
            {
                txtNroOperacion.Text = table.Rows[0]["nrooperacion"].ToString();
                txtCliente.Text      = table.Rows[0]["nomcliente"].ToString();
                txtNomDeudor.Text    = table.Rows[0]["nomdeudor"].ToString();
                txtRutDeudor.Text    = table.Rows[0]["rut_deudor"].ToString();
                txtGirador.Text      = txtRutDeudor.Text;
                txtnomgirador.Text   = txtNomDeudor.Text;
                return(table.Rows[0]["tipocobranza"].ToString());
            }
            return(string.Empty);
        }