应该没理由的,怎么会出现这种情况?请再详细查看一下代码是否正确。能否把你网上刚才的一段代码复制下来看看。
<%
set rs_news=server.createobject("adodb.recordset")
sqltext4="select top 11 * from jishu where BigClassName='国家法规' order by id desc"
rs_news.open sqltext4,conn,1,1
%>
</span>
<table width="100%" border="0" cellspacing="1" cellpadding="0" align="center">
<%i=0
do while not rs_news.eof%>
<tr align="center" valign="middle">
<td width="5%"><span class="a"><img src="Img/class.gif" width="10" height="10" /></span> </td>
<td width="54%" height="20" style='BORDER-bottom: #999999 1px dotted'> <div align="left"><a href="showjishu.asp?id=<%=rs_news("id")%>" target="_blank" class="a">
<%=cutstr(rs_news("title"),10)%></a></div></td>
<td width="41%" style='BORDER-bottom: #999999 1px dotted'><font color="#999999" >
[<%=rs_news("AddDate")%>]</font><%if DateValue(rs_news("datetime"))=>DateValue(date()-2) then
Response.Write "<img src=""image/new1.gif"">"
%><%end if%></td>
</tr>
<%rs_news.movenext
i=i+1
loop
rs_news.close %>
</table>