How can I refactor the containing loop with SqlCommand.ExecuteReader if multiple column result?

后端 未结 0 1707
长情又很酷
长情又很酷 2020-12-05 01:14

I am getting an S1751 warning in Visual Studio 2019 \'Refactor the containing loop to return more than one value\' There are a few occurrences when I have used ExecuteScalar

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