错误问题:
<!--#include file="conn.asp"-->
<%
set rs=conn.execute("select * from postcontent,forum where postcontent.forum_id =forum.forum_id order by topic_id desc")
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<style type="text/css">
<!--
body,td,th {
font-family: 宋体;
font-size: 12px;
}
.style1 {
font-family: "华文新魏";
font-size: 24px;
}
body {
margin-top: 0px;
margin-bottom: 0px;
}
.style2 {
color: #3399CC;
font-family: "隶书";
}
.style3 {font-family: "华文新魏"}
.style4 {font-family: "华文细黑"}
.style5 {font-family: "方正舒体"}
.style6 {font-family: "方正姚体"}
.style7 {font-weight: bold}
.style8 {
color: #FFFFFF;
font-weight: bold;
}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: none;
}
a:active {
text-decoration: none;
}
.unnamed1 {
border: 1px dashed #33CCFF;
}
-->
</style></head>
<body>
<div align="center">
<table width="100%" height="76" bgcolor="#3399CC" class="unnamed1" >
<tr>
<td bgcolor="#FFFFFF"><table width="100%" height="66" bgcolor="f5f5f5" >
<tr>
<td width="29%"><div align="center" class="style1">
<div align="center" class="style2"><span class="style6">快</span><span class="style3">乐</span>老<span class="style4">家</span>论<span class="style5">坛</span></div>
</div></td>
<td width="54%"><div align="center"><script>
ed_ads_UserId=1156;
</script>
<script src="http://ad.ads8.com:8001/code_49.js"></script></div></td>
<td width="17%"><div align="center">
<table width="84%" >
<tr>
<td><div align="center"><img src="images/bookmark.gif" width="16" height="16">加入收藏</div></td>
</tr>
<tr>
<td><div align="center"><img src="images/home.gif" width="16" height="16">设为首页</div></td>
</tr>
<tr>
<td><div align="center"><img src="images/email.gif" width="16" height="17">联系站长</div></td>
</tr>
</table>
</div></td>
</tr>
</table></td>
</tr>
</table>
<table width="100%" class="unnamed1" >
<tr>
<td height="24" bgcolor="#3399CC"> </td>
</tr>
</table>
<table width="100%" bgcolor="f5f5f5" >
<tr>
<td height="23"><div align="left">用户名称:</div></td>
</tr>
</table>
<table width="100%" >
<tr>
<td><div align="left">*快乐老家->论坛列表</div></td>
</tr>
</table>
<table width="100%" >
<tr>
<td height="26"><div align="center"></div></td>
</tr>
</table>
<table width="100%" bgcolor="#3399CC" class="unnamed1" >
<tr bgcolor="#3399CC">
<td width="6%" height="27"><div align="center"></div></td>
<td width="45%" height="27" bgcolor="#3399CC"><div align="center" class="style8">论坛</div></td>
<td width="15%" height="24"><div align="center" class="style8">主题</div></td>
<td width="34%" bgcolor="#3399CC"><div align="center" class="style8">最后更新</div></td>
</tr><%do while not rs.eof
%>
<tr bgcolor="f5f5f5">
<td height="101"><div align="center">
<img src="images/forum_isnews.gif" width="24" height="24"></div></td>
<td><div align="center">
<table width="100%" height="96" >
<tr>
<td width="28%" height="17" class="style7"><div align="center"><a href="subject.asp?forum_id=<%=rs("forum_id")%>" target="_parent"><%=rs("forum")%></a></div></td>(这里有错误?)
<td width="72%" rowspan="2"><div align="left"><%=rs("forumword")%></div></td>
</tr>
<tr>
<td height="71"><div align="center"><img src="images/<%=rs("images")%>" width="80" height="67" alt=""></div></td>
</tr>
</table>
</div></td>
<td><div align="center"><%=rs.recordcount%></div></td>
<td><div align="center">
<p>日期:<%=rs("posttime")%>主题:<%=rs("title")%>作者:<%=rs("postname")%></p>
</div></td>
<%rs.movenext
loop
%>
</tr>
</table>
<table width="100%" bgcolor="#3399CC" class="unnamed1" >
<tr>
<td> </td>
</tr>
</table>
<p> </p>
<p> </p>
<p> </p>
</div>
</body>
</html>
错误类型:
ADODB.Recordset (0x800A0CC1)
在对应所需名称或序数的集合中,未找到项目。
/index.asp, 第 124 行