重开一贴补 c# 如何转义?
比如:
db.sql="select userid,uname,userpassword from "t_usertable" where username='"+b_na.Text+"'";
运行报错!
但是表名必须加引号,是小写的.如何转义?
[解决办法]
发布时间: 2012-02-09 18:22:27 作者: rapoo
重开一贴补 c# 如何转义?
比如:
db.sql="select userid,uname,userpassword from "t_usertable" where username='"+b_na.Text+"'";
运行报错!
但是表名必须加引号,是小写的.如何转义?
[解决办法]