吐血,求救

bima bima 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
if request("tj")="提交" then
newpass=Request.Form("newpass")
update_sql="update userinfo set password='"& newpass &"' where user='admin'"
conn.Execute update_sql
end if

就这么两行代码,conn.Execute update_sql 错误:

Microsoft JET Database Engine (0x80040E14) (类型或字段不匹配?)

userinfo 表没问题, 做登录的时候都是正常的
Response.Write update_sql 结果如下:
update userinfo set password='123' where user='admin'

复制上面的命令到 access 表里试,也没问题...
查了好久!疯了我要!
...全文

相关推荐

评论 7
收藏 已收藏
分享
返回顶部
bima
ASP 28,401 成员 356,940 内容