Posted 20 November 2025, 2:01 pm EST
We have a C#/WPF app that has a focus on high-speed analysis of data, and we use C1 heavily throughout for styling. One of the functions of this app involves reading in and parsing data from files. We typically deal with text & csv files, but recently there has been a request for reading XLSX files as well. We would prefer to just use C1Excel, but we have run into some performance issues.
We have a system in place for users to define the structure of their files which we use for reading the file. Then whenever the user imports files we try and match each file to a definition. This is typically done by streaming the first line of the text/csv and checking the structure against each defined format to look for a match. We want to apply the same logic for XLSX files, but I only see an option to load the entire file using book.Load(filePath). Some of these XLSX files are quite large(10+mb), so loading the entire file just to check sheet names or the first row of data just to realize it is not a match is not very efficient.
We can look into other excel readers if C1Excel does not support this, but we are on a private network so getting new packages can be a little difficult, so we were hoping we could make it work with C1Excel.
Any tips/tricks would be appreciated!
