急急急!!!请教一个javascript里用asp的问题,在线等,回答马上给分
function netFlashThisPage()
{
if (!document.layers && !document.all)
return;
myid='<%=cint(request.QueryString("userid"))%>'
MsgHere='<%sqlstr="select * from info where receiver=' + myid + 'and state=1"' + 'rs1.Open sqlstr,conn,1,1' + 'if not rs1.eof then%>' + flash() + '<%rs1.close%>';
setTimeout('netFlashThisPage()', 1000);
}
</script>
循环执行函数,当数据库中有数据满足条件时,执行flash();
运行这个函数后,错误
错误类型:
ADODB.Recordset (0x800A0E78)
对象关闭时,不允许操作。
/wangzhan/asp/diguang/WebIM/main.asp
请求帮忙