怎么在读取数据库时老出现空行
下面是代码
请大哥大姐们帮忙看看
先谢过了
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
无标题文档
|
|
<%
set rs=server.createobject("adodb.recordset")
rs.open "select* From news order by id desc",conn,1,1
%>
<%
while not rs.eof
%>
class="link">
::
<%response.write trim(rs("title")) %>
:: [
<%response.Write(rs("time"))%>
] |
<%
rs.movenext
wend
%>
<%
rs.close
conn.close
set rs=nothing
set conn=nothing
%>
|