80分 错误类型: (0x80020009) 发生意外
来源:百度知道 编辑:UC知道 时间:2024/06/06 12:07:06
扬州交友 程序问题
错误类型:
(0x80020009)
发生意外。
<%set rs0=Server.CreateObject("ADODB.recordset")
rs0.open"select username,sex from love_main where username='"&rs8("username")&"'",conn,1,1
if rs0(1) = "男" then
response.write"<img height=12 width=8 hspace=2 src=images/man.gif>"
else
response.write"<img height=12 width=8 hspace=2 src=images/women.gif>"
end if
rs0.close:set rs0=nothing
%>
请问高手这是什么问题!程序是不是没有问题!
请到http://zhidao.baidu.com/question/72979216.html 拿分!
错误类型:
(0x80020009)
发生意外。
<%set rs0=Server.CreateObject("ADODB.recordset")
rs0.open"select username,sex from love_main where username='"&rs8("username")&"'",conn,1,1
if rs0(1) = "男" then
response.write"<img height=12 width=8 hspace=2 src=images/man.gif>"
else
response.write"<img height=12 width=8 hspace=2 src=images/women.gif>"
end if
rs0.close:set rs0=nothing
%>
请问高手这是什么问题!程序是不是没有问题!
请到http://zhidao.baidu.com/question/72979216.html 拿分!
<%set rs0=Server.CreateObject("ADODB.recordset")
rs0.open"select username,sex from love_main where username='"&rs8("username")&"'",conn,1,1
定义的是rs0,怎么取值的时候变rs8拉?
rs8("username")&" 你看看是不是这个问题