注册 登录
编程论坛 ASP技术论坛

未结束的字符串常量

zdloveday 发布于 2010-01-09 10:44, 653 次点击
sqlcmd="select top 12 id,name,price0,content,smallImg,is_img,is_b,is_red
from wygkway where is_commend <> '' and  
is_show <> '' order by id desc "  
请 看一下 这个  那里错了


提示错误 信息 是


未结束的字符串常量
web/ddaw.asp, line 484, column 72
sqlcmd="select top 12 id,name,price0,content,smallImg,is_img,is_b,is_red
-----------------------------------------------------------------------^
2 回复
#2
hmhz2010-01-09 11:02
sqlcmd="select top 12 id,name,price0,content,smallImg,is_img,is_b,is_red from wygkway where is_commend<>'' and is_show<>'' order by id desc"

连起来写成一行,不要自作聪明的去给他们换行
#3
zdloveday2010-01-09 11:16

谢谢    斗是这个问题  
1