东兴物流怎么样:VBScript 编译器错误

来源:百度文库 编辑:高考问答 时间:2024/05/12 05:14:11
以下是错误提示:
其中nameSubMenu,nameLast是变量
请高手们多多指点

错误类型:
Microsoft VBScript 编译器错误 (0x800A0409)
未结束的字符串常量
/1/xianshi.asp, line 59, column 105
sqlstr="select * from tb where chexi (like'%" & nameSubMenu & "%') and (xinghao like'%"& nameLast & "%')
--------------------------------------------------------------------------------------------------------^

sqlstr="select * from tb where chexi (like'%" & nameSubMenu & "%') and (xinghao like'%"& nameLast & "%')错了
应为sqlstr="select * from tb where chexi (like'%" & nameSubMenu & "%') and (xinghao like'%"& nameLast & "%')"