codegooglecom / easyasp

Automatically exported from code.google.com/p/easyasp
0 stars 0 forks source link

Easp.db.GPR分页后出现页面永远只显示10条记录 #40

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Easp.db.GPR分页后出现页面永远只显示10条记录,通过设置pagesize�
��性也无法对当页显示记
录数进行设置。。

我的设置分页代码如下所示,麻烦管理员帮忙看看,万分感��
�了.

<%
  Easp.db.SetPager "default", "<div class=""pager"">{first}{prev}
{liststart}{list}{listend}{next}{last}  共{recordcount}条, 每页{pagesize}
条, {pageindex}/{pagecount}页, 转到{jump}页</div>", Array
("jump:select","jumplong:10")

    Dim rs : Set rs = Easp.db.GPR("0",Array("tgoods:*","flag=0 and 
goodstitle like '%多货货物名称%'","id desc","id"))    
%>

Original issue reported on code.google.com by pgdory...@gmail.com on 21 Jul 2009 at 9:14

GoogleCodeExporter commented 9 years ago
试试:
Set rs = Easp.db.GPR("0:15",Array("tgoods:*","flag=0 and goodstitle like 
'%多货货物名
称%'","id desc","id"))
用临时指定的方式试试。
估计你的程序的显示数据的部分代码有点问题。

Original comment by Tainray@gmail.com on 11 Aug 2009 at 1:56