ASP分页问题 <菜单列表的值分页获取不了,,不想做session>
<%
dim page,maxPerPage
maxPerPage=2
page=Request("page")
if (page="" or isempty(page)) then page=1
thisUrl="pring_gongzi.asp?yue='"&request("nianfen")+request("yuefen")
set rs=server.createobject("adodb.recordset")
rs.open "select * from gongzi where yue='"&request("nianfen")+request("yuefen")&"' order by id desc ",conn,1,1
rs.pagesize=MaxPerPage
%>
请教大家 红色的代码应该怎样改好呢,
dim page,maxPerPage
maxPerPage=2
page=Request("page")
if (page="" or isempty(page)) then page=1
thisUrl="pring_gongzi.asp?yue='"&request("nianfen")+request("yuefen")
set rs=server.createobject("adodb.recordset")
rs.open "select * from gongzi where yue='"&request("nianfen")+request("yuefen")&"' order by id desc ",conn,1,1
rs.pagesize=MaxPerPage
%>
请教大家 红色的代码应该怎样改好呢,
附件:
20141029113555.jpg (2014-10-29 11:10:52)
※※ 业务范围 ※※