Exemplo n.º 1
0
        public void BindDdlPlanName()
        {
            FuneralServiceReference.FuneralServicesClient client = new FuneralServiceReference.FuneralServicesClient();
            ddlPlanname.DataSource = client.GetAllPlanName(ParlourId);
            ddlPlanname.DataBind();

            ddlMemberPlan.DataSource = client.GetAllPlanName(ParlourId);
            ddlMemberPlan.DataBind();

            //ddlOutstandPlanName.DataSource = client.GetAllPkanName();
            //ddlOutstandPlanName.DataBind();
            // ddlOutstandPlanName.Items.Insert(-1, "All");
        }
Exemplo n.º 2
0
        public void BindDdlPlanName()
        {
            FuneralServiceReference.FuneralServicesClient client = new FuneralServiceReference.FuneralServicesClient();
            ddlPlanname.DataSource = client.GetAllPlanName(ParlourId);
            ddlPlanname.DataBind();
            ddlPlanname.Items.Insert(0, new ListItem("ALL", "ALL"));
            ddlPlanname.Items.FindByText("ALL").Selected = true;

            ddlMemberPlan.DataSource = client.GetAllPlanName(ParlourId);
            ddlMemberPlan.DataBind();
            ddlMemberPlan.Items.Insert(0, new ListItem("ALL", "ALL"));
            ddlMemberPlan.Items.FindByText("ALL").Selected = true;
        }