How can I write to an Excel spreadsheet using Linq?

后端 未结 6 426
独厮守ぢ
独厮守ぢ 2020-12-28 10:01

I\'m writing an app where I need to retrieve some rows from a DB and dump them into an Excel spreadsheet. I\'m using Linq to retrieve these rows.

Is it possible to

6条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-28 10:20

    The quickest solution will be to create a csv file:

    col1, colb, colc
    col1, colb, colc
    

    Excel works very well with csv files.

提交回复
热议问题