淘宝供货商一件代发:关于as的网页的页面的参数传递

来源:百度文库 编辑:杭州交通信息网 时间:2024/05/12 15:47:20
我在进行参数传递时,用的是id=request.querystring("id")
strsql="select topic from mm where id='"&id&"'"就出现标准表达式中数据类型不匹配。
如果去掉&就出现语句未结束这是为什么哪里出错了

strsql="select topic from mm where id='"&id&"'"

改成
strsql="select topic from mm where id="&id

strsql="select topic from mm where id='" & id & "'"
&附近最好有空格,特别是id后面那个

id=cint(request.querystring("id"))