ADODB.Field 错误 '80020009' 求助
ADODB.Field 错误 '80020009' BOF 或 EOF 中有一个是“真”,或者当前的记录已被删除,所需的操作要求一个当前的记录。
/ents/search.asp,行 0
代码:
<%
[color=Red]if cint(rs("classOneId1"))<>0then
set database=new databaseCls
response.write(database.getConn.execute("select className from T_classtwo where id="&rs("classOneId1"))(0))
set database=nothing
else
response.write("不限")
end if
%>[/color]
</td>
<td align="center" class="cbBor1px"><%set database=new databaseCls
response.write(database.getRs("select areaName from T_areas where id="&rs("wantAreaId"))(0))
set database=nothing
%></td>
<td align="center" class="cbBor1px"><%set database=new databaseCls
response.write(database.getRs("select cultureName from T_cultures where id="&rs("cultureId"))(0))
set database=nothing
%></td>
<td align="center" class="cbBor1px"><%set database=new databaseCls
response.write(database.getRs("select className from T_expers where id="&rs("experId"))(0))
set database=nothing
%></td>
<td align="center" class="cbBor1px"><a href="addTalent.asp?action=add&userId=<%=rs("id")%>" target="_blank">加入人才库</a></td>
</tr>
<%
rs.moveNext
if rs.eof then exit for
else
exit for
end if
next
%>