Exemple #1
0
        public void BinGrillaPendientes()
        {
            SisPackController.AdministrarGrillas.Configurar(this.dtgGuias, "GuiaID", this.CantidadOpciones);
            IGuia   guia = GuiaFactory.GetGuia();
            DsGuias ds;

            if (this.rbtCasoA.Checked)
            {
                ds = guia.GetGuiasPendAsignarConsolidado(this.AgenciaConectadaID);
                Session["DsGuiaCasoA"] = ds;
            }
            else
            {
                ds = guia.GetGuiasPendAsignarConsolidadoCasoB(this.AgenciaConectadaID);
                Session["DsGuiaCasoB"] = ds;
            }
            dtgGuias.CurrentPageIndex = Utiles.Validaciones.obtieneEntero(txtPaginaPendientes.Text);
            this.dtgGuias.DataSource  = ds;
            this.dtgGuias.DataBind();
            this.cantGuiasPendientes = this.dtgGuias.Items.Count;
            this.butAceptar.Enabled  = false;
        }