public void DelColumn()
 {
     string _idlist = Parameters["pparm"];
     PortalChildColumnBiz biz = new PortalChildColumnBiz();
     ErrorEntity ErrInfo = new ErrorEntity();
     PortalChildColumnContentBiz ccbiz = new PortalChildColumnContentBiz();
     NameValueCollection where = new NameValueCollection();
     where.Add("condition","FChildColumnId in (" + _idlist + ")");
     ccbiz.Delete(where, out ErrInfo);
     if (ErrInfo.ErrorCode == RespCode.Success)
     {
         biz.Delete(_idlist, out ErrInfo);
     }
     Response.Write(ErrInfo.ToJson());
 }
 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());
 }