//public object GetData() //{ protected void BindfundManagerDetails() { try { string cmotcode = onlineMFSchemeDetailsBo.GetCmotCode(int.Parse(ddlScheme.SelectedValue)); ViewState["cmotcode"] = cmotcode; if (cmotcode != "") { DataSet theDataSet = onlineMFSchemeDetailsBo.GetAPIData(ConfigurationSettings.AppSettings["FUND_MANAGER_DETAILS"] + cmotcode + "/Pre"); foreach (DataRow dr in theDataSet.Tables[1].Rows) { lblFundMAnagername.Text = dr["FundManager"].ToString(); lblQualification.Text = dr["Qualification"].ToString(); lblDesignation.Text = dr["Designation"].ToString(); lblExperience.Text = dr["experience"].ToString(); } } } catch (Exception Ex) { } }
protected void BindNewsHeading() { OnlineMFSchemeDetailsBo OnlineMFSchemeDetailsBo = new OnlineMFSchemeDetailsBo(); try { dlNews.RepeatColumns = Convert.ToInt32(ConfigurationSettings.AppSettings["NEWS_COUNT"]); DataSet theDataSet = OnlineMFSchemeDetailsBo.GetAPIData(ConfigurationSettings.AppSettings["NEWS_HEADING"] + ConfigurationSettings.AppSettings["NEWS_COUNT"]); dlNews.DataSource = theDataSet.Tables[1]; dlNews.DataBind(); } catch (Exception Ex) { } }
protected void BindNewsHeading() { try { DataSet theDataSet = OnlineMFSchemeDetailsBo.GetAPIData(ConfigurationSettings.AppSettings["NEWS_HEADING"] + ConfigurationSettings.AppSettings["NEWS_DETAICOUNTS"]); RepNews.DataSource = theDataSet.Tables[1]; RepNews.DataBind(); } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "OnlineMFSchemeDetailsDao.cs:BindNewsHeading()"); object[] objects = new object[0]; FunctionInfo = exBase.AddObject(FunctionInfo, objects); exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } }