我用的ASP.NET  C#
今天调试程序,报错为:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'MySqlSecond')' at line 1这个是说我的数据库语句有错了!
我单步调,把数据库语句拿出来为:
Update GroupInfo set MatchVolume = 'D:\\' where Groupid = (select Groupid from `Group` where GroupName = 'MySqlSecond')
到MySql命令行和MySqlFront下去运行却均正常!
我完全不知道在 ASP.NET下,为什么报错,而且说错误在最后的 “MySqlSecond')”!完全看不出来哪儿有错!难道和C#的其他什么想冲突了?