private void GetProvinceRegisterAddressAfter(string id) { var biz = new BLL.DataCenterBiz(); var ls = biz.GetProvinceById(id); if (DTO.MemberType.General.GetEnumValue() == EDIT_USER_TYPE)//edit by milk { if (ls.DataResponse != null) { txtProvinceRegisterAddressAfterReg.Text = ls.DataResponse.Name; } else { txtProvinceRegisterAddressAfterReg.Text = "-"; } } else { if (ls.DataResponse != null && UserProfile.MemberType == DTO.MemberType.General.GetEnumValue()) { txtProvinceRegisterAddressAfterReg.Text = ls.DataResponse.Name; } else { txtProvinceRegisterAddressAfterReg.Text = "-"; } } }
private void GetProvinceCurrentAddressBefore(string id) { var biz = new BLL.DataCenterBiz(); var ls = biz.GetProvinceById(id); if (ls.DataResponse != null) { txtProvince.Text = ls.DataResponse.Name; } else { txtProvince.Text = "-"; } }
private void GetProvinceCurrentAddressBefore(string id) { var biz = new BLL.DataCenterBiz(); var ls = biz.GetProvinceById(id); if (ls.DataResponse != null) { txtProvinceCurrentAddressBeforeReg.Text = ls.DataResponse.Name; } else { txtProvinceCurrentAddressBeforeReg.Text = Resources.propregApproveOfficerOIC_002; } }
private void GetProvinceRegisterAddressAfter(string id) { var biz = new BLL.DataCenterBiz(); var ls = biz.GetProvinceById(id); if (ls.DataResponse != null) { txtProvinceRegisterAddressAfterReg.Text = ls.DataResponse.Name; } else { txtProvinceRegisterAddressAfterReg.Text = "-"; } }