private void PopulatePlanDetails(ListsManager lm)
        {
            Int16 typeid = (short)(mCustomer.LifeTimeActive ? 2 : 1);
            //populate limit drop down
            List<Limit> lstLimitTemp = lm.GetLimit(mCustomer.EnrollmentCode, typeid, mCustomer.MembershipInfo.StateId, mCustomer.Underwriter);
            List<decimal> lstLimit = (from l in lstLimitTemp
                                      orderby l.Amount
                                      select l.Amount
                                      ).ToList();

            ddlLimit.DataSource = lstLimit.Select(l => l.ToString("C0"));
            ddlLimit.DataBind();
            decimal LimitDefault = (from l in lstLimitTemp
                                    where l.IsDefault
                                    select l.Amount).FirstOrDefault();
            if (LimitDefault != 0)
                ddlLimit.SelectedValue = LimitDefault.ToString("C0");

            //populate remimbursement drop down
            List<Reimbursement> lstReimTemp = lm.GetReimbursement(mCustomer.EnrollmentCode, typeid);
            List<double> lstReim = (from l in lstReimTemp
                                    orderby l.Amount
                                    select l.Amount).ToList();
            ddlReimburse.DataSource = lstReim.Select(l => l.ToString("0%"));
            ddlReimburse.DataBind();
            double ReimDefault = (from l in lstReimTemp
                                  where l.IsDefault
                                  select l.Amount).FirstOrDefault();
            if (ReimDefault != 0)
                ddlReimburse.SelectedValue = ReimDefault.ToString("0%");

            //populate deductible drop down
            List<Deductible> lstDeductTemp = lm.GetDeductible(mCustomer.EnrollmentCode, typeid);
            List<decimal> lstDeductible = (from l in lstDeductTemp
                                           orderby l.Amount
                                           select l.Amount).ToList();
            ddlDeductible.DataSource = lstDeductible.Select(l => l.ToString("C0"));
            ddlDeductible.DataBind();

            //default
            decimal DeductDefault = (from l in lstDeductTemp
                                     where l.IsDefault
                                     select l.Amount).FirstOrDefault();
            if (DeductDefault != 0)
                ddlDeductible.SelectedValue = DeductDefault.ToString("C0");

            List<Rider> lstRider = lm.GetRider(mCustomer.EnrollmentCode, typeid);
            lstRiderList = lstRider;

            if (lstRider != null)
            {
                foreach (Rider r in lstRider)
                {
                    ddlRoutine.Items.Add(new ListItem(r.RiderName.Replace("Care ", "")));
                }

                ddlRoutine.DataBind();

            }

            ddlRoutine.Items.Insert(0, new ListItem("None", "0"));
        }
        private void PopulatePlanDetails(ListsManager lm)
        {
            Int16 typeid = (short)(mCustomer.LifeTimeActive? 2 : 1);
            //populate limit drop down
            List<Limit> lstLimitTemp = lm.GetLimit(mCustomer.EnrollmentCode, typeid, mCustomer.MembershipInfo.StateId, mCustomer.Underwriter);
            List<decimal> lstLimit = (from l in lstLimitTemp
                                      orderby l.Amount
                                      select l.Amount
                                      ).ToList();

            ddlLimit.DataSource = lstLimit.Select(l => l.ToString("C0"));
            ddlLimit.DataBind();
            decimal LimitDefault = (from l in lstLimitTemp
                                    where l.IsDefault
                                    select l.Amount).FirstOrDefault();
            if (LimitDefault != 0)
                ddlLimit.SelectedValue = LimitDefault.ToString("C0");

            //populate remimbursement drop down
            List<Reimbursement> lstReimTemp =lm.GetReimbursement(mCustomer.EnrollmentCode, typeid);
            List<double> lstReim =(from l in lstReimTemp
                                   orderby l.Amount
                                   select l.Amount).ToList();
            ddlReimburse.DataSource = lstReim.Select(l => l.ToString("0%"));
            ddlReimburse.DataBind();
            double ReimDefault =(from l in lstReimTemp
                                 where l.IsDefault
                                 select l.Amount).FirstOrDefault();
            if (ReimDefault != 0)
                ddlReimburse.SelectedValue = ReimDefault.ToString("0%");

            //populate deductible drop down
            List<Deductible> lstDeductTemp =lm.GetDeductible(mCustomer.EnrollmentCode, typeid);
            List<decimal> lstDeductible = (from l in lstDeductTemp
                                           orderby l.Amount
                                           select l.Amount).ToList();
            ddlDeductible.DataSource = lstDeductible.Select(l => l.ToString("C0"));
            ddlDeductible.DataBind();

            //default
            decimal DeductDefault = (from l in lstDeductTemp
                                    where l.IsDefault
                                    select l.Amount).FirstOrDefault();
            if (DeductDefault != 0)
                ddlDeductible.SelectedValue = DeductDefault.ToString("C0");
        }