public Int32 Save(PortalChildColumnContent item, out ErrorEntity ErrInfo)
 {
     NameValueCollection where = new NameValueCollection();
     where.Add("FChildColumnId", item.FChildColumnId.ToString());
     Delete(where, out ErrInfo);
     if (ErrInfo.ErrorCode == RespCode.Success)
     {
         NameValueCollection parameters = new NameValueCollection();
         parameters.Add("FChildColumnId", item.FChildColumnId.ToString());
         parameters.Add("FCCContentText", item.FCCContentText);
         parameters.Add("FSEOTitle", item.FSEOTitle);
         parameters.Add("FSEOKeyWord", item.FSEOKeyWord);
         parameters.Add("FSEODescription", item.FSEODescription);
         Insert(parameters, out ErrInfo);
         if (ErrInfo.ErrorCode == RespCode.Success)
         {
             return 1;
         }
         else
         {
             return -1;
         }
     }
     else
     {
         return -1;
     }
 }
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         string _ccolid = Parameters["ccolid"];
         PortalChildColumnContent item = new PortalChildColumnContent();
         PortalChildColumnContentBiz biz = new PortalChildColumnContentBiz();
         item = biz.SelectByChildColumnId(_ccolid);
         if (item != null)
         {
             gstitle = item.FSEOTitle;
             gskeyword = item.FSEOKeyWord;
             gsdescription = item.FSEODescription;
             gscontent = item.FCCContentText;
         }
     }
 }
 public void SaveContent()
 {
     string _ccolid = Parameters["ccolid"];
     string _title = Parameters["ptitle"];
     string _keyword = Parameters["pkeyword"];
     string _description = Parameters["pdescription"];
     string _content = Parameters["pcontent"];
     PortalChildColumnContent item = new PortalChildColumnContent();
     item.FChildColumnId = Convert.ToInt64(_ccolid);
     item.FSEOTitle = _title;
     item.FSEOKeyWord = _keyword;
     item.FSEODescription = _description;
     item.FCCContentText = _content;
     PortalChildColumnContentBiz biz = new PortalChildColumnContentBiz();
     ErrorEntity ErrInfo = new ErrorEntity();
     biz.Save(item, out ErrInfo);
     Response.Write(ErrInfo.ToJson());
 }