简体   繁体   中英

How to output data to an excel file in C#

How do I output data from a list that has a value within and output that data to an excel file. This is my first time doing this and any help would be appreciated.

Please see the following Stack Overflow which walks you through step by step how to do this: Create Excel (.XLS and .XLSX) file from C#

The instructions provided take you through using the open source library ExcelLibrary

I am on mobile so I can't link this, but I do believe you can output data values separated by commas "," and when you open that file the commas represent one cell.. so

"1456, 1745" should open up as two cells with those values

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM