Exemplo n.º 1
0
        void BindData()
        {
            AssociateServices ascServices = new AssociateServices();

            lstEmployee.DataSource = ascServices.GetNewAssociates();
            lstEmployee.DataBind();
            associatesAssigned  = ascServices.GetAssociatesCount();
            associatesAvailable = totalAssociates - associatesAssigned;
        }
Exemplo n.º 2
0
        void BindData()
        {
            AssociateServices ascServices = new AssociateServices();

            lstEmployee.DataSource = ascServices.GetAllAssociates();
            lstEmployee.DataBind();
            HiddenField hf = (HiddenField)Parent.FindControl("hidLastTab");

            hf.Value            = "2";
            associatesAssigned  = ascServices.GetAssociatesCount();
            associatesAvailable = totalAssociates - associatesAssigned;
        }