protected bool Save() { try { CMSCommentsList objCMSCommentsList = ReadScr(); if (objCMSCommentsList != null) { CMSCommentsBL objCMSCommentsBL = new CMSCommentsBL(); objCMSCommentsBL.Manage(objCMSCommentsList); Inquiry(); } } catch (Exception objKPIError) { ShowMsg(MsgType.Error, FrwkMsg.OP_FAIL, objKPIError); } return(true); }
public void DetailInquiry(ref CMSComments objCMSComments) { try { if (KPIHlp.CVI64(Request.QueryString.Get("JMChartID")) != long.MinValue) { objCMSComments.RefID = KPIHlp.CVI64(Request.QueryString.Get("JMChartID")); if (!String.IsNullOrEmpty(Request.QueryString.Get("hdnJurisId"))) { objCMSComments.JurisID = KPIHlp.CVI32(Request.QueryString.Get("hdnJurisId")); } DataSet objDS = new DataSet(); objDS = new CMSCommentsBL().SelectActiveLog(ref objCMSComments); grdComments.DataSource = objDS; grdComments.DataBind(); } } catch { } }