Example #1
0
        private void GetLicenseType()
        {
            //BLL.DataCenterBiz biz = new BLL.DataCenterBiz();
            //var ls = biz.GetLicenseType("ทั้งหมด");

            //BindToDDL(ddlLicenseType, ls.DataResponse.ToList());
            BLL.DataCenterBiz biz = new BLL.DataCenterBiz();
            var ls = biz.GetLicenseTypeByCompCode(base.UserProfile.CompCode);

            BindToDDL(ddlLicenseType, ls.DataResponse.ToList());
            ddlLicenseType.Items.Insert(0, new ListItem("ทั้งหมด", "0"));
        }