This is a migrated thread and some comments may be shown as answers.

Error on open workbook with 150k rows and 20 columns

0 Answers 9 Views
Spreadsheet
This is a migrated thread and some comments may be shown as answers.
Javor
Top achievements
Rank 1
Javor asked on 20 Sep 2018, 12:37 PM

This error occurs on RaisePropertyChanged or on this line of code

this.Spreadsheet.Workbook = workbook;

An unhandled exception of type 'System.AggregateException' occurred in mscorlib.dll

Additional information: One or more errors occurred.

here is the code which I use 

input is  stream form ms file dialog

XlsxFormatProvider formatProvider = new XlsxFormatProvider();
workbook = formatProvider.Import(input);
workbook.Name = openFileDialog.SafeFileName;
this.Spreadsheet.Workbook = workbook;

No answers yet. Maybe you can help?

Tags
Spreadsheet
Asked by
Javor
Top achievements
Rank 1
Share this question
or