Пример #1
0
        void VerRegistro(int n_IdRegistro)
        {
            DataTable dtdat = new DataTable();

            objRegistros.mysConec = mysConec;
            objRegistros.TraerRegistro(n_IdRegistro);
            e_boleta = objRegistros.e_Boletas;
            dtdat    = objRegistros.dtBoletasdet;

            CboDoc.SelectedValue = e_boleta.n_idtipdoc;
            TxtFchDec.Text       = Convert.ToDateTime(e_boleta.d_fchdoc).ToString("dd/MM/yyyy");
            TxtFchEmiDoc.Text    = Convert.ToDateTime(e_boleta.d_fchven).ToString("dd/MM/yyyy");
            TxtNumArchGen.Text   = e_boleta.n_numarc.ToString();
            LblNumDoc.Text       = dtdat.Rows.Count.ToString();

            funFlex.FlexMostrarDatos(FgItems, arrCabeceraFlex1, dtdat, 2, true);
        }