asp access 数据库读取分页的问题
代码太长贴不上求求大大指教<%iftrim(request("zw"))=""andtrim(request("job"))=""thenDimsqlsql="selec...
代码太长贴不上 求求大大 指教
<%
if trim(request("zw"))="" and trim(request("job"))="" then
Dim sql
sql=" select * from job order by id desc "
Dim rs
Set rs=Server.CreateObject("ADODB.RecordSet")
rs.open sql,conn,1,1
if rs.eof then
response.write "系统中还没有录入任何信息!"
else
Do while not rs.eof and i<rs.pagesize
%> 展开
<%
if trim(request("zw"))="" and trim(request("job"))="" then
Dim sql
sql=" select * from job order by id desc "
Dim rs
Set rs=Server.CreateObject("ADODB.RecordSet")
rs.open sql,conn,1,1
if rs.eof then
response.write "系统中还没有录入任何信息!"
else
Do while not rs.eof and i<rs.pagesize
%> 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询