ASP错误 字符串的语法错误 在查询表达式 'name='1111' 中如题 谢谢了

2025-03-06 21:24:52
推荐回答(1个)
回答1:

呵呵 兄弟先看哈是不是 select * from user where name='"+y 的问题 我建议你把name=后面的单引号给去掉! 应该是exec="select * from user where name="+y 试试看! 那要不试试exec="select * from user where name='"& y &"' " 再试试看!嘿嘿~~~~~~~~