便民服务手册国家政策:这段代码哪里错了

来源:百度文库 编辑:高校问答 时间:2024/04/28 19:18:12
<td width="100%"> <%
sql="select top 10 SoftID,SoftName,Softtype,SoftTime,AllHits from "&CategoryName&"_SoftInfo where CateID="&CateID&" and sc=true order by DayHits desc,SoftID desc"
rs.open sql,conn,1,1

if rs.eof and rs.bof then
response.write "<p align='center'>没有排行</p>"
else
do while not rs.eof
response.write "<li><a href=""SoftView.asp?SoftID="& rs("SoftID")&""" class=""ArticleList"">"& trim(rs("SoftName")) & " </a></li><br>"
rs.movenext
loop
end if
rs.close
%></td>

看不出哪里错,把你的IIS的错误贴出来