我的代码如下:<%
set rs = server.CreateObject ("Adodb.recordset")
sql="select top 8 id,title from article order by addtime desc"
rs.open sql,conn,1,1
if rs.EOF then
Response.Write("<center><br><font color=red>sorry,目前还没有内容</font>")
else
do while not rs.eof
%>
<li type="square"><a href=listzt.asp?id=<%=rs("id")% target=_blank><%=rs("title")%></a><br>
</li>
<%
rs.MoveNext
loop
end if
rs.close
set rs=nothing%>
</td>