'变量定义
sql="insert into 影片(片名,分类,推荐指数,地区,年代,导演,主演,简介,视频格式,视频大小,链接)values("+ypm+","+fl+","tjzs+","+dq+","+nd+","+dy+","+zy+","+nrjj+","+spgs+","+spdx+","+xzdz+")"
conn.execute sql
错误提示:语句未结束!
请问哪里有问题?
ASP字符串与变量拼接问题!急用!谢谢!!
答案:1 悬赏:50 手机版
解决时间 2021-04-23 15:26
- 提问者网友:爱唱彩虹
- 2021-04-22 16:35
最佳答案
- 五星知识达人网友:轮獄道
- 2021-04-22 17:33
sql="insert into 影片(片名,分类,推荐指数,地区,年代,导演,主演,简介,视频格式,视频大小,链接)values("+ypm+","+fl+","+tjzs+","+dq+","+nd+","+dy+","+zy+","+nrjj+","+spgs+","+spdx+","+xzdz+")"
,"tjzs+",
这里前面少了个+.
如果你不是用VBS的话,用+可以,但如果你用VBS,应该把+改成&
,"tjzs+",
这里前面少了个+.
如果你不是用VBS的话,用+可以,但如果你用VBS,应该把+改成&
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯