示例#1
0
        public void LoadTowns()
        {
            try
            {
                List <FlexMLSInfo> items;
                FlexMLSController  controller = new FlexMLSController();

                items = controller.FlexMLS_Search_Condo_TownList();

                //bind the data
                RepeaterTowns.DataSource = items;
                RepeaterTowns.DataBind();
            }
            catch (Exception ex)
            {
                Exceptions.ProcessModuleLoadException(this, ex);
            }
        }
        public void LoadTowns()
        {
            try
            {
                //   string year = DateTime.Now.Year.ToString();
                string town = "";


                List <FlexMLSInfo> items;
                FlexMLSController  controller = new FlexMLSController();

                items = controller.TaxRates_GetList(town.ToString(), DateTime.Now.Year.ToString());

                //bind the data

                RepeaterTowns.DataSource = items;
                RepeaterTowns.DataBind();
            }
            catch (Exception ex)
            {
                Exceptions.ProcessModuleLoadException(this, ex);
            }
        }