ADODB.Recordset 错误 '800a0e7d' ,怎么解决呢?
dim name,arrName,tmpname,idArr
set ros1=server.CreateObject("adodb.recordset")
set ros3=server.CreateObject("adodb.recordset")
ros1.open "select top "&cc&" enter_name,name3=dbo.f_merg(m_id,2),m_id from member_list where ischecked='Y' order by last_logtime desc",con,1,3
if ros1.eof then
getEn=""
else
do until ros1.eof
name=ros1("name3")
arrName=split(name,"|")
for i=0 to ubound(arrName)
posArr=instr(1,""&arrName(i)&"","*")
if posArr>1 then
idArr=mid(""&arrName(i)&"",1,posArr-1)
nameArr=mid(""&arrName(i)&"",posArr+1)
ros3.open "select tc1_id,tc2_id from trade_class3 where nameArr="&name3&""
tc1_id=ros3("tc1_id")
tc2_id=ros3("tc2_id")
tmpname=tmpname&i+1&". <a href='chanp_list.asp?tc1_id="&ros3("tc1_id")&"tc2_id="&ros3("tc2_id")&"'>"&nameArr&"</a> "
end if
ros3.movenext
next
temp_s=temp_s&"<a href='huiyuan.asp?m_id="&ros1("m_id")&"'><br>"&ros1("enter_name")&"<br></a>"&tmpname&"<br>"
ros1.movenext
tmpname=""
loop
getEn=temp_s
end if
ros3.close
set ros3=nothing
ros1.close
set ros1=nothing