分面问题...
附源码:
<%
dim page,maxPerPage
maxPerPage=30
page=Request("page")
if (page="" or isempty(page)) then page=1
thisUrl="mingxi.asp?kehu="&request("kehu")&"?productSort="&productSort&""
set rs2=server.createObject("adodb.recordset")
set rs3=server.createObject("adodb.recordset")
set rs4=server.createObject("adodb.recordset")
rs2.open "select sum(endjine) from invoice where kehu='"&request("kehu")&"' and endjine>'0'",conn,1,1
rs4.open "select * from kehu where uname='"&request("kehu")&"' ",conn,1,1
rs3.open "select * from invoice where kehu='"&request("kehu")&"' and endjine>'0' order by invoice",conn,1,1
rs3.pagesize=MaxPerPage
%>
| |||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||