还是排序的问题.
<!-- #include file="conn.asp" -->
<%
set rs1=server.createobject("adodb.recordset")
sql="select top 5 * from book order by todayhit desc"
rs1.open sql,conn,1,1
while not rs.eof
%>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20" valign="top"><font color="#0033cc">~</font></td>
<td width="111"><a href="list.asp?id=<%=rs1("id")%>"><%=rs1("title")%></a><font color="#0099FF">[点击数<%=rs1("todayhit")%>]</font></td>
</tr>
</table>
读取点击数最多的五条信息.
错误类型:
Microsoft VBScript 编译器错误 (0x800A03FA)
/files/geng.asp, 第 15 行
错在哪儿?