简体   繁体   中英

C# Need advice on reading large Excel workbook

My program is required to read a large Excel workbook which has 4-5 sheets with roughly 35000 cells. The biggest problem that almost every cell is linked to cell in other large workbooks in a computer network.

It's is also required that user chooses a sheet to read data from first.

I tried Excel Interop, but the program just freezes while trying to open a workbook.

尝试 ClosedXML: https : //github.com/closedxml/closedxml这不能解决大小问题,但我不知道除了使用数据库之外的任何事情。

ClosedXML is a good library, but I believe that NetOffice.Excel is better, see https://www.nuget.org/packages/NetOffice.Excel/ . It does almost the same stuff as Interop, but better.

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