ASP高手请进,下面程序怎么分页,请指教

来源:百度知道 编辑:UC知道 时间:2024/05/20 22:05:09
<!--#include file="conn.asp"-->
<%
set rs=server.createobject("adodb.recordset")
sql="select * from class where id="&request.querystring("id")
rs.open sql,conn,1,1
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><%=rs("class")%>-创业故事</title>
<style type="text/css">
<!--
.STYLE2 {font-size: 9pt}
a:link { font-size: 9pt; text-decoration: none; color: #000000

只有
do while i<rsc.pagesize and not rs.eof
应该是rsc.eof
其他没看出有错误。

大体浏览了一下,程序应该没问题吧 正确的 好像

看错了 不好意思
当前页面名是什么?