asp.net使用sql语句这样不行应该怎么办
问题描述:
```c#
string sql = "select * from com_list where com_name = '"+变量+"' ";
```
答
您好,
为什么不行,你这个格式是对的,你现在报的什么错?
答
已经解决了