private void GetAmpurRegisterAddressAfter(string provinceId, string id) { var biz = new BLL.DataCenterBiz(); var ls = biz.GetAmpurById(provinceId, id); if (DTO.MemberType.General.GetEnumValue() == EDIT_USER_TYPE)//edit by milk { if (ls.DataResponse != null) { txtDistrictRegisterAddressAfterReg.Text = ls.DataResponse.Name; } else { txtDistrictRegisterAddressAfterReg.Text = "-"; } } else { if (ls.DataResponse != null && UserProfile.MemberType == DTO.MemberType.General.GetEnumValue()) { txtDistrictRegisterAddressAfterReg.Text = ls.DataResponse.Name; } else { txtDistrictRegisterAddressAfterReg.Text = "-"; } } }
private void GetAmpurCurrentAddressBefore(string provinceId, string id) { var biz = new BLL.DataCenterBiz(); var ls = biz.GetAmpurById(provinceId, id); if (ls.DataResponse != null) { txtAmpher.Text = ls.DataResponse.Name; } else { txtAmpher.Text = "-"; } }
private void GetAmpurRegisterAddressAfter(string provinceId, string id) { var biz = new BLL.DataCenterBiz(); var ls = biz.GetAmpurById(provinceId, id); if (ls.DataResponse != null) { txtDistrictRegisterAddressAfterReg.Text = ls.DataResponse.Name; } else { txtDistrictRegisterAddressAfterReg.Text = "-"; } }
private void GetAmpurCurrentAddressBefore(string provinceId, string id) { var biz = new BLL.DataCenterBiz(); var ls = biz.GetAmpurById(provinceId, id); if (ls.DataResponse != null) { txtDistrictCurrentAddressBeforeReg.Text = ls.DataResponse.Name; } else { txtDistrictCurrentAddressBeforeReg.Text = Resources.propregApproveOfficerOIC_002; } }