关于asp网页的购物车问题
请交一个问题,我的关于购物车的网页代码如下但是运行后,提示第八行有类型不匹配的错误
见下
谢谢大家帮我看哈
不胜感激啊
<!--#include file="includes/header.inc"-->
<%
dim arrCart, cartIndex,i,total0,total1
arrCart = Session("MyCart")
cartIndex = Session("cartIndex")
count=0
for i=0 to CartIndex
if arrCart(i,2)<>"" then
if arrCart(i,2)>0 then
count=count+1
end if
end if
next
if count = 0 then
htmlcode="your cart is empty.<br>"
htmlcode=htmlcode&"<a href=""bookincategory.asp""><<back</a>"
response.write htmlcode
else
%>
错误类型:
Microsoft VBScript 运行时错误 (0x800A000D)
类型不匹配
/netshop/showcart.asp, 第 8 行