private void LoadSetting() { try { TestimonialController clt = new TestimonialController(); TestimonialSettingInfo obj = new TestimonialSettingInfo(); obj = clt.GetSetting(GetPortalID, int.Parse(SageUserModuleID)); ActiveImage = obj.Image; NoOListToDisplay = obj.NoOfTestimonial; ActiveDate = obj.DateTime; ActiveViewMore = obj.ViewMore; } catch (Exception ex) { ProcessException(ex); } }
private void LoadSetting() { try { TestimonialController clt = new TestimonialController(); TestimonialSettingInfo obj = new TestimonialSettingInfo(); obj = clt.GetSetting(GetPortalID, int.Parse(SageUserModuleID)); txtNoOfList.Text = obj.NoOfTestimonial; chkImage.Checked = obj.Image; chkDateTime.Checked = obj.DateTime; chkViewMore.Checked = obj.ViewMore; } catch (Exception ex) { ProcessException(ex); } }