标题:麻烦我帮修改下代码,提示类型不匹配
只看楼主
zzz421437181
Rank: 1
等 级:新手上路
帖 子:8
专家分:0
注 册:2010-4-16
结帖率:0
已结贴  问题点数:20 回复次数:2 
麻烦我帮修改下代码,提示类型不匹配
错误类型:
Microsoft VBScript 运行时错误 (0x800A000D)
类型不匹配: '[string: "招聘"]'

<%sub dix()
set rsdq=server.createobject("adodb.recordset")
sqldq = "select leixing from config "
rsdq.open sqldq,conn,1,1
leixing=split(rsdq("leixing"),"|")
xn=leixing(0)
response.write "<select name=""InfoClass"">"
'response.write "<option value=>选择类型</option>"
for x=1 to xn
response.write "<option value="""&leixing(x)&""">"&leixing(x)&"</option>"
next
response.write "</select>&nbsp;"
rsdq.close
set rsdq=nothing
end sub%>

错误类型:
Microsoft VBScript 运行时错误 (0x800A000D)
类型不匹配: '[string: "招聘"]'
搜索更多相关主题的帖子: 类型 提示 代码 麻烦 
2010-06-12 11:45
yms123
Rank: 16Rank: 16Rank: 16Rank: 16
等 级:版主
威 望:209
帖 子:12488
专家分:19042
注 册:2004-7-17
得分:20 
<%sub dix()
set rsdq=server.createobject("adodb.recordset")
sqldq = "select leixing from config "
rsdq.open sqldq,conn,1,1
leixing=split(rsdq("leixing"),"|")
xn=leixing(0)
response.write "<select name=InfoClass >"
'response.write "<option>选择类型</option>"
for x=1 to xn
response.write "<option value="&leixing(x)&" >"&leixing(x)&"</option>"
next
response.write "</select>&nbsp;"
rsdq.close
set rsdq=nothing
end sub%>
2010-06-12 14:21
zzz421437181
Rank: 1
等 级:新手上路
帖 子:8
专家分:0
注 册:2010-4-16
得分:0 
没改到啊,,还是一样的错误
2010-06-13 09:47



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-310060-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.080213 second(s), 7 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved