ADO.NET. How do I pass as a parameter a column name while performing SELECT SUM?

后端 未结 0 1120
攒了一身酷
攒了一身酷 2020-11-29 05:49

can not get this working, there are no any exceptions, however this code returns "0". When I put real column name instead of @ColumnName, this returns correct sum.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题