语法错误 (操作符丢失) 在查询表达式 急!!!在线等 20

错误类型:MicrosoftJETDatabaseEngine(0x80040E14)语法错误(操作符丢失)在查询表达式'<P><FONTface=Verdana>You... 错误类型:
Microsoft JET Database Engine (0x80040E14)
语法错误 (操作符丢失) 在查询表达式 '<P><FONT face=Verdana>You are bidding 500k GW Gold in Guild Wars<BR>Delivery Time:</FONT></P> <P><FONT face=Verdana>Usually we will log in game and send you an ingame tell and do the delivery within 5 minutes  since paypal payment received. So pleas' 中。
select case action
case "add"
For i = 1 To Request.Form("detail").Count
strDetail = strDetail & Request.Form("detail")(i)
Next
sql="Insert into product(name,price2,spic,categoryid,detail,recommend) values('"&trim(request.form("name"))&"',"&trim(request.form("price2"))&",'"&trim(request.form("spic"))&"',"&trim(request.form("categoryid"))&","&strDetail&",'"&trim(request.form("recommend"))&"')"
'response.write sql
'response.end
conn.execute(sql) 出错行
response.Write "<script language=javascript>alert('添加成功!');history.go(-1);</script>"
response.End
展开
 我来答
kadxm
2006-10-23 · TA获得超过705个赞
知道小有建树答主
回答量:829
采纳率:0%
帮助的人:0
展开全部
sql="Insert into product(name,price2,spic,categoryid,detail,recommend) values('"&trim(request.form("name"))&"',"&trim(request.form("price2"))&",'"&trim(request.form("spic"))&"',"&trim(request.form("categoryid"))&",'"&strDetail&"','"&trim(request.form("recommend"))&"')"

你没加引号
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式