C# SQLServer retrieving results and place in a .csv format

前端 未结 5 650
孤街浪徒
孤街浪徒 2020-12-09 20:53

I had a look on the site and on Google, but I couldn\'t seem to find a good solution to what I\'m trying to do.

Basically, I have a client server application (C#) wh

5条回答
  •  隐瞒了意图╮
    2020-12-09 21:17

    When dealing with CSV file I usually go for the FileHelpers library: it has a SqlServerStorage class which you can use to read records from a SQL server and write them to a CSV file.

提交回复
热议问题