ASP的读取数据库的小问题

2025-06-21 23:31:12
推荐回答(3个)
回答1:

rs.movennext
改成
rs.movenext

回答2:

set RS=conn.Execute("select * from test")
改为
set RS=conn.Execute("select top 100 id,test from test")

回答3:

对对对,smancn好眼力!

rs.movenext打错了,所以永远也查询不到尽头阿,当然要超时了。

估计你的脚本什么地方有on error resume next,所以服务器没有报语法错误。建议自己设置一个错误处理函数,在关键的地方调用一下,就知道有没有错误发生。