[求助]请问:这代码错在哪?要怎么改?
这是我用Dreamweaver做的点击浏览量的累计。
错误提示是:
错误类型:
ADODB.Command (0x800A0D5D)
应用程序在当前操作中使用了错误类型的值。
/dachun/blog/showlog.asp, 第 183 行
代码是:
<%
Set Command1 = Server.CreateObject ("ADODB.Command")
Command1.ActiveConnection = MM_bconn_STRING
Command1.CommandText = "UPDATE b_log SET b_hits =b_hits+1 WHERE b_id =? "
Command1.Parameters.Append Command1.CreateParameter("MMBid", 3, 1, 0, MM_IIF(Request.QueryString("b_id"), Request.QueryString("b_id"), Command1__MMBid & ""))
Command1.CommandType = 1
Command1.CommandTimeout = 0
Command1.Prepared = true
Command1.Execute()
%>