예제 #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            this.keywords = MXRequest.GetQueryString("keywords");
            catalogId     = MyCommFun.RequestInt("id");
            if (catalogId == 0)
            {
                JscriptMsg("传输参数不正确!", "back", "Error");
                return;
            }

            this.pageSize = GetPageSize(10); //每页数量
            if (!Page.IsPostBack)
            {
                BLL.wx_shop_catalog   cataBll = new BLL.wx_shop_catalog();
                Model.wx_shop_catalog cata    = cataBll.GetModel(catalogId);
                lblCatalogName.Text = cata.cTitle;

                RptBind(CombSqlTxt(keywords), "sort_id asc,id desc");
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            this.keywords = MXRequest.GetQueryString("keywords");
            catalogId = MyCommFun.RequestInt("id");
            if (catalogId == 0)
            {
                JscriptMsg("传输参数不正确!", "back", "Error");
                return;
            }

            this.pageSize = GetPageSize(10); //每页数量
            if (!Page.IsPostBack)
            {
                BLL.wx_shop_catalog cataBll = new BLL.wx_shop_catalog();
                Model.wx_shop_catalog cata = cataBll.GetModel(catalogId);
                lblCatalogName.Text = cata.cTitle;

                RptBind(CombSqlTxt(keywords), "sort_id asc,id desc");
            }
        }