public void GetBackUrl()
 {
     string _id = Parameters["ccolid"];
     PortalChildColumn item = new PortalChildColumn();
     PortalChildColumnBiz biz = new PortalChildColumnBiz();
     item = biz.Select(Convert.ToInt64(_id));
     if (item == null)
     {
         Response.Write("0");
     }
     else
     {
         Response.Write(item.FNavId.ToString());
     }
 }
 public void GetGridData()
 {
     string _colid = Parameters["navid"];
     string _search = Parameters["psearchcontent"];
     string _sortname = Parameters["psortname"];
     string _direction = Parameters["psortdirection"];
     string _pagenumber = Parameters["ppagenumber"];
     string _pagesize = Parameters["ppagesize"];
     List<PortalChildColumn> lists = new List<PortalChildColumn>();
     PortalChildColumnBiz biz = new PortalChildColumnBiz();
     string _sql = "(FNavId =" + _colid + ")";
     if (!string.IsNullOrEmpty(_search))
     {
         _sql += " and (FChildColumnName like '%" + _search + "%')";
     }
     NameValueCollection where = new NameValueCollection();
     where.Add("condition", _sql);
     NameValueCollection orderby = new NameValueCollection();
     orderby.Add(_sortname, _direction);
     Int32 totalcount = 0;
     lists = biz.Select(where, orderby, Convert.ToInt32(_pagenumber), Convert.ToInt32(_pagesize), out totalcount);
     string datasource = Utils.GetRepeaterDatasource(lists, Convert.ToInt32(_pagenumber), Convert.ToInt32(_pagesize), totalcount);
     Response.Write(datasource);
 }