Exemplo n.º 1
0
        protected void ddBusinessType_SelectedIndexChanged(object sender, EventArgs e)
        {
            BLL.DataCenterBiz biz = new BLL.DataCenterBiz();

            //Set LicenseTypeCode Session
            this.MasterLicense.LicenseTypeCode = ddBusinessType.SelectedValue;

            //Get Company by License Type
            var message = SysMessage.DefaultSelecting;

            DTO.ResponseService <DTO.DataItem[]> ls = biz.GetCompanyByLicenseType(message, ddBusinessType.SelectedValue);
            BindToDDL(ddCompany, ls.DataResponse);
        }