网络安全的短板:求救啊!苦恼了好几天!没哲了!为什么会出现字符串的语法错误 在查询表达式 'id='1' 中。

来源:百度文库 编辑:神马品牌网 时间:2024/05/09 09:12:09
sql="update wxjl set bxsj='"& request.form( "bxsj") &"',bxdd='"& request.form("bxdd") &"',bxyy='"& request.form("bxyy") &"',wxry='"& request.form("wxry") &"',wxsj='"& request.form("wxsj") &"' where id='"& request.querystring("id")
response.write sql
conn.execute (sql)<----第25行
rs.open sql,conn,1,3
错误类型:
Microsoft JET Database Engine (0x80040E14)
字符串的语法错误 在查询表达式 'id='1' 中。
/weixiu/edit2.asp, 第 25 行

清理C模式