Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
        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
            { }
        }