Пример #1
0
    public void bindDate(int _Page)
    {
        string RecordCount = "0",
               PageCount   = "0",
               PageIndex   = _Page == 0 ? Common.Q_Int("Page", 0).ToString() : _Page.ToString();

        WebControl.CreatTable(showTable, "id,nickname,openid,name,sex,tel,money,point,addtime", "编号,昵称,微信标识,姓名,性别,电话,余额,积分,添加时间", dp.C_Pagination(new string[] { PageIndex, "50", "id,nickname,openid,name,case sex when 0 then '女' else '男' end as sex,tel,money,point,addtime", "user_info", " tag=0", "ID DESC" }, ref RecordCount, ref PageCount), "", "user_info", false);
        paging.InnerHtml = WebControl.Pagination(Common.S_Int(PageIndex), Common.S_Int(RecordCount), Common.S_Int(PageCount));
    }
Пример #2
0
    public void bindDate(int _Page)
    {
        string RecordCount = "0",
               PageCount   = "0",
               PageIndex   = _Page == 0 ? Common.Q_Int("Page", 0).ToString() : _Page.ToString();

        WebControl.CreatTable(showTable, "id,title,link,addtime", "编号,标题,链接地址,添加时间", dp.C_Pagination(new string[] { PageIndex, "50", "id,title,link,addtime", "article_info", " navId=10 and tag=0", "ID DESC" }, ref RecordCount, ref PageCount), "ModBanner.aspx?id=", "goods", true);
        paging.InnerHtml = WebControl.Pagination(Common.S_Int(PageIndex), Common.S_Int(RecordCount), Common.S_Int(PageCount));
    }
Пример #3
0
    public void bindDate(int _Page)
    {
        string RecordCount = "0",
               PageCount   = "0",
               PageIndex   = _Page == 0 ? Common.Q_Int("Page", 0).ToString() : _Page.ToString();

        WebControl.CreatTable(showTable, "id,name,phone,email,address,cnt,addtime", "编号,姓名,电话,邮箱,地址,留言内容,时间", dp.C_Pagination(new string[] { PageIndex, "50", "id,name,phone,email,address,cnt,addtime", "messageuser", "", "ID DESC" }, ref RecordCount, ref PageCount), "javascript:;", "goods", true);
        paging.InnerHtml = WebControl.Pagination(Common.S_Int(PageIndex), Common.S_Int(RecordCount), Common.S_Int(PageCount));
    }
Пример #4
0
    public void bindDate(int _Page)
    {
        string RecordCount = "0",
               PageCount   = "0",
               PageIndex   = _Page == 0 ? Common.Q_Int("Page", 0).ToString() : _Page.ToString();

        WebControl.CreatTable(showTable, "id,title,num,workadder,modtime,posttime,addtime", "编号,名称,招聘人数,工作地点,发布日期,截止时间,添加时间", dp.C_Pagination(new string[] { PageIndex, "50", "id,title,num,workadder,modtime,posttime,addtime", "Advertise_info", "", "ID DESC" }, ref RecordCount, ref PageCount), "ModRenCai.aspx?id=", "goods", true);
        paging.InnerHtml = WebControl.Pagination(Common.S_Int(PageIndex), Common.S_Int(RecordCount), Common.S_Int(PageCount));
    }
Пример #5
0
    public void bindDate(int _Page)
    {
        string RecordCount = "0",
               PageCount   = "0",
               PageIndex   = _Page == 0 ? Common.Q_Int("Page", 0).ToString() : _Page.ToString();

        WebControl.CreatTable(showTable, "id,province,county,title,phone,address,addtime", "编号,省,市,店名,电话,地址,添加时间", dp.C_Pagination(new string[] { PageIndex, "50", "id,province,county,title,phone,address,addtime", "shop_info", "", "ID DESC" }, ref RecordCount, ref PageCount), "ModMenDian.aspx?id=", "goods", true);
        paging.InnerHtml = WebControl.Pagination(Common.S_Int(PageIndex), Common.S_Int(RecordCount), Common.S_Int(PageCount));
    }
Пример #6
0
    public void bindDate(int _Page)
    {
        string RecordCount = "0",
               PageCount   = "0",
               PageIndex   = _Page == 0 ? Common.Q_Int("Page", 0).ToString() : _Page.ToString();

        WebControl.CreatTable(showTable, "id,title,dis,addtime", "编号,标题,描述,添加时间", dp.C_Pagination(new string[] { PageIndex, "50", "id,title,dis,addtime", "news_info", " tag=0", "ID DESC" }, ref RecordCount, ref PageCount), "newsadd.aspx?id=", "news", true);
        paging.InnerHtml = WebControl.Pagination(Common.S_Int(PageIndex), Common.S_Int(RecordCount), Common.S_Int(PageCount));
    }
Пример #7
0
    public void bindDate(int _Page)
    {
        string RecordCount = "0",
               PageCount   = "0",
               PageIndex   = _Page == 0 ? Common.Q_Int("Page", 0).ToString() : _Page.ToString();

        WebControl.CreatTable(showTable, "id,name", "编号,名称", dp.C_Pagination(new string[] { PageIndex, "50", "id,name", "prdct_type", " tag=0 and type=1", "ID DESC" }, ref RecordCount, ref PageCount), "ModPrdctType.aspx?id=", "goods", true);
        paging.InnerHtml = WebControl.Pagination(Common.S_Int(PageIndex), Common.S_Int(RecordCount), Common.S_Int(PageCount));
    }
Пример #8
0
    public void bindDate(int _Page)
    {
        string RecordCount = "0",
               PageCount   = "0",
               PageIndex   = _Page == 0 ? Common.Q_Int("Page", 0).ToString() : _Page.ToString();

        WebControl.CreatTable(showTable, "id,name,phone,province,city,county,addtime", "编号,姓名,电话,省,市,县,时间", dp.C_Pagination(new string[] { PageIndex, "50", "id,name,phone,province,city,county,addtime", "Reservation", "", "ID DESC" }, ref RecordCount, ref PageCount), "javascript:;", "goods", true);
        paging.InnerHtml = WebControl.Pagination(Common.S_Int(PageIndex), Common.S_Int(RecordCount), Common.S_Int(PageCount));
    }
Пример #9
0
    public void bindDate(int _Page)
    {
        string RecordCount = "0",
               PageCount   = "0",
               PageIndex   = _Page == 0 ? Common.Q_Int("Page", 0).ToString() : _Page.ToString();

        WebControl.CreatTable(showTable, "id,title,addtime", "编号,新闻标题,添加时间", dp.C_Pagination(new string[] { PageIndex, "50", "id,title,CONVERT(varchar(10),addtime, 120) as addtime", "News_info", " tag=0 and type=1", "ID DESC" }, ref RecordCount, ref PageCount), "ModNewsCompany.aspx?id=", "goods", true);
        paging.InnerHtml = WebControl.Pagination(Common.S_Int(PageIndex), Common.S_Int(RecordCount), Common.S_Int(PageCount));
    }
Пример #10
0
    public void bindDate(int _Page)
    {
        string RecordCount = "0",
               PageCount   = "0",
               PageIndex   = _Page == 0 ? Common.Q_Int("Page", 0).ToString() : _Page.ToString();

        WebControl.CreatTable(showTable, "id,prdctname,title,addtime", "编号,案例类型,名称,添加时间", dp.C_Pagination(new string[] { PageIndex, "50", "id,(select name from prdct_type where id=prdctId) as prdctname,title,addtime", "case_info", " tag=0", "ID DESC" }, ref RecordCount, ref PageCount), "ModAnli.aspx?id=", "goods", true);
        paging.InnerHtml = WebControl.Pagination(Common.S_Int(PageIndex), Common.S_Int(RecordCount), Common.S_Int(PageCount));
    }
Пример #11
0
    public void bindDate(int _Page)
    {
        string RecordCount = "0",
               PageCount   = "0",
               PageIndex   = _Page == 0 ? Common.Q_Int("Page", 0).ToString() : _Page.ToString();

        WebControl.CreatTable(showTable, "id,prdctname,title,pingpai,dingwei,fengge,yanse,kongjian,addtime", "编号,产品类别,产品名称,品牌,定位,风格,颜色,空间,添加时间", dp.C_Pagination(new string[] { PageIndex, "50", "id,(select name from prdct_type where id=prdctId) as prdctname,title,pingpai,dingwei,fengge,yanse,kongjian,addtime", "Prdct_info", " tag=0", "ID DESC" }, ref RecordCount, ref PageCount), "ModPrdct.aspx?id=", "goods", true);
        paging.InnerHtml = WebControl.Pagination(Common.S_Int(PageIndex), Common.S_Int(RecordCount), Common.S_Int(PageCount));
    }