<table width="700" height="420" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left" valign="top">
<!---->
<%
'定义记录集对象
Set rs = Server.CreateObject("ADODB.RecordSet")
'设置SQL语句,读取指定的新闻记录
sqlString="SELECT * FROM News WHERE Id=" & Request.QueryString("id")
rs.Open sqlString, Conn, 1, 1
'替换新闻正文中的特殊标记
If Not rs.EOF Then
rqtContent= rs("content")
rqtContent = replace(rqtContent,"[space]"," ")
'更新阅读数量
Conn.execute("UPDATE News SET hits = hits + 1 WHERE Id=" & Request("id"))
%>
<center>
<table border="0" borderColorLight="#000080" cellSpacing="5" cellpadding="0" width="98%">
<tr>
<td width="100%" align=center height=50><strong><font color=red size=4><%=stitle%></font></strong>
</td></tr>
<tr>
<td align=center><strong><%=RS("title")%></strong><br>
<%=RS("data")%><br>
</td>
</tr>
<tr>
<td><%=rqtContent%></td>
</tr>
</table></center>
<%
End If
rs.Close
Set rs = Nothing
%>
<br>
</div>
<!----> </td>
</tr>
</table>
这是我加的代码,其余代码都是模板里的.大家帮忙看看,为什么说最后一空行发生一个错误,内存不足?