使用字符串构建器

时间:2016-05-09 09:46:31

标签: c# sql-server-2012

StringBuilder strSQL = new StringBuilder();

strSQL.Append("SELECT * FROM DataBaseName..TableName ");
strSQL.Append(" where Flag= @nameID");
strSQL.Append(" ORDER BY Flag DESC");`

0 个答案:

没有答案