示例#1
0
        private void data_Bind()
        {
            //项目数据
            var projectList = XMProjectService.GetXMProjectList();

            Store2.DataSource = projectList;
            Store2.DataBind();

            //发货点数据(发货仓)
            var codeList = CodeService.GetCodeListInfoByCodeTypeID(227);

            Store3.DataSource = codeList;
            Store3.DataBind();

            //省份数据
            var provinceList = AreaCodeService.GetAreaCodeByRank(2);

            Store4.DataSource = provinceList;
            Store4.DataBind();

            //物流公司数据
            var logisticsList = CodeService.GetCodeListInfoByCodeTypeID(243);

            Store7.DataSource = logisticsList;
            Store7.DataBind();
        }
示例#2
0
        private void DataLoad()
        {
            var provinceList = AreaCodeService.GetAreaCodeByRank(2);

            provinceStore.DataSource = provinceList;
            provinceStore.DataBind();
        }