本文介绍了参数类型错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到以下错误:


ADODB.Recordset错误''800a0bb9''


参数错误类型,超出可接受的范围,或者在
彼此冲突。


/shop/results.asp,line 15


第15行是记录集的开放行。有人可以帮助


if isnull(session(whois))然后

response.Redirect(" ../ default.asp")

else

getCon =应用程序(" connectionObject")

set objshop = server.CreateObject(" adodb.recordset")

dim categoryid

categoryid = request.querystring(" cat")

objshop.open" select * from tblproducts其中catkey =" &安培; categoryid&"

order by catkey",getcon,3,3

I''m getting the following error:

ADODB.Recordset error ''800a0bb9''

Arguments are of the wrong type, are out of acceptable range, or are in
conflict with one another.

/shop/results.asp, line 15

line 15 is the recordset open line. Can someone please help

if isnull(session("whois")) then
response.Redirect("../default.asp")
else
getCon=Application("connectionObject")
set objshop=server.CreateObject("adodb.recordset")
dim categoryid
categoryid = request.querystring("cat")
objshop.open "select * from tblproducts where catkey = " & categoryid &"
order by catkey",getcon,3,3

推荐答案









这篇关于参数类型错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-21 22:52