Esempio n. 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Power("onlinepay_list", "在线支付列表"))
            {
                PageReturnMsg = PageNoPowerMsg();
            }
            PageSize     = RequestTool.getpageSize(25);
            lang         = RequestTool.RequestString("lang");
            key          = RequestTool.RequestString("key");
            show         = RequestTool.RequestInt("show", 2);
            pic          = RequestTool.RequestInt("pic", 2);
            string where = "IsUsed=1 and parentid=0 and Code!='weixinpay'";
            models       = B_Lebi_OnlinePay.GetList(where, "id asc", PageSize, page);
            int recordCount = B_Lebi_OnlinePay.Counts(where);

            PageString = Shop.Bussiness.Pager.GetPaginationString("?page={0}&show=" + show + "&key=" + key + "&pic=" + pic, page, PageSize, recordCount);
        }