예제 #1
0
        protected void repFoliosPendientes_ItemDataBound(object sender, RepeaterItemEventArgs args)
        {
            if (args.Item.ItemType == ListItemType.Item || args.Item.ItemType == ListItemType.AlternatingItem)
            {
                Repeater           repReferencias     = args.Item.FindControl("repReferencias") as Repeater;
                Label              lblFolioCompartido = args.Item.FindControl("lblFolioCompartido") as Label;
                string             folioCompatido     = lblFolioCompartido.Text;
                Entrada_compartida oEC = new Entrada_compartida();
                oEC.Folio     = folioCompatido;
                oEC.Capturada = false;

                repReferencias.DataSource = EntradaCtrl.getEntradaCompartidaByFolioNoCapturada(oEC);
                repReferencias.DataBind();
            }
        }