+ -
当前位置:首页 → 问答吧 → 求问请帮下小弟

求问请帮下小弟

时间:2005-08-14

来源:互联网

我把原来的产品删除干净了 又在加入新的产品出现
错误 '80020009'
/tejiainfo.asp,行 24
我知道可能数据库没了请问怎么改"?
set rs2=server.createobject("adodb.recordset")
                                        rs2.open "select * from shop_nclass where nclassid="&rs("nclassid"),conn,1,1
                                        if rs2.recordcount>0 then
这是那断话 请求帮忙 谢谢

作者: hnet   发布时间: 2005-08-14

想问什么?

作者: fdipzone   发布时间: 2005-08-15

if rs2.bof and rs2.eof then
这样写看看

作者: JSTOP   发布时间: 2005-08-18

rs2.open "select * from shop_nclass where nclassid="&rs("nclassid"),conn,1,3
if rs2.recordcount>0 then

rs2.open "select * from shop_nclass where nclassid="&rs("nclassid"),conn,1,1
if rs2.bof and rs2.eof then

试一下。

作者: brothder   发布时间: 2005-08-29

我也觉得应该是  1, 3 的问题...     1  , 1  好像 recordcount 属性用不了?

作者: ※潇洒※   发布时间: 2005-08-29