Microsoft OLE DB Provider for ODBC Drivers
错误 '80040e21'ODBC 驱动程序不支持所需的属性。
/newbbs.asp,行 137
关键代码如下
<table width="760" border="0" cellspacing="0" cellpadding="0">
<tr>
<th height="5" scope="col"></th>
</tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="10" valign="top"> <div align="center">
<p> </p>
<table width="760" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"><%
set rs=server.CreateObject("adodb.recordset")
sql="select * from bbs2 where id="&request("id")
rs.open sql,conn,1,1
%> <table width="760" border="1" cellpadding="0" cellspacing="0" bordercolor="#B5FDD7">
<tr>
<td width="106" height="20" bgcolor="#F7F7FF"><div align="right" class="zz"><strong>标 题</strong></div></td>
<td width="386" height="20" bgcolor="#F7F7FF" class="zz"> <%=rs("bt")%></td>
<td width="208" height="20" bgcolor="#F7F7FF" class="zz">作 者: <span class="STYLE5"><%=rs("username")%></span> (<%=rs("date")%>)</td>
</tr>
<tr>
<td width="200" height="154" align="center" valign="top" bgcolor="#ECFFEC"><p> </p>
<p class="zz"><strong>内 容:</strong></p></td>
<td colspan="2" valign="top" bgcolor="#ECFFEC"><div align="left" class="zz"> <%=rs("hy")%></div>
<p> </p>
<p> </p>
<p> </p>
<p> </p></td>
</tr>
</table></th>
</tr>
</table>
<table width="760" border="0" cellspacing="0" cellpadding="0">
<tr>
<th scope="col"> <%
set mrs=server.CreateObject("adodb.recordset")
sql="select * from bbs2 where zn="&request("id")
mrs.open sql,conn,1,1 ‘137行
%> <table width="760" border="1" cellpadding="0" cellspacing="0" bordercolor="#B5FDD7">
<tr>
<td width="106" height="20" bgcolor="#F7F7FF"><div align="right" class="zz"></div></td>
<td width="386" height="20" bgcolor="#F7F7FF" class="zz"> </td>
<td width="208" height="20" bgcolor="#F7F7FF" class="zz">作 者: <span class="STYLE5"><%=rs("username")%></span> (<%=rs("date")%>)</td>
</tr>
<tr>
<td width="200" height="154" align="center" valign="top" bgcolor="#ECFFEC"><p> </p>
<p class="zz"><strong>内 容:</strong></p></td>
<td colspan="2" valign="top" bgcolor="#ECFFEC"><div align="left" class="zz"> <%=rs("hy")%></div>
<p> </p>
<p> </p>
<p> </p>
<p> </p></td>
</tr>
</table></th>
</tr>
</table>