Microsoft VBScript runtime error '800a01b6'

来源:百度知道 编辑:UC知道 时间:2024/05/16 05:25:22
Microsoft VBScript runtime error '800a01b6'

Object doesn't support this property or method: 'Value'

/bank/const_admin.asp, line 12
请问怎么解决啊
'后台信息和函数部分
Dim AllPostTable
Dim AllPostTableName
Dim FoundErr
FoundErr=False
Dim ErrMsg
Dim Rs,sql,i
Dvbbs.LoadTemplates("")
Set Rs=Dvbbs.Execute("Select H_Content From Dv_Help Where H_ID=1")
template.value = Rs(0)
'页面错误提示信息
Sub dvbbs_error()
Response.Write"<br>"
Response.Write"<table cellpadding=3 cellspacing=1 align=center class=""tableBorder"" style=""width:75%"">"
Response.Write"<tr align=center>"
Response.Write"<th width=""100%"" height=25 colspan=2>错误信息"
Response.Write"</td>"
Response.Write"</tr>"
Respons

意思是:微软VBScript运行错误‘800a01b6’

Object不支持这个物产或方法: ‘价值’

/bank/const_admin.asp,线12

对象不支持属性或者方法 Value
在const_admin.asp的第12行
代码都没得 鬼知道怎么改

1楼的纯粹在翻译啊 那个value不是指价值,应当是一个属性名或者方法名

template.value = Rs(0)
这一行
template.value和Rs(0)的变量类型不对
导致这个结果
我看Rs(0)像字符串变量吧
不知道value是不是数字
你找找value的定义,或者这样改试试
template.value = val(Rs(0))