Fast and powerful .NET spreadsheet component, support data format, freeze, outline, formula calculation, chart, script execution and etc. Compatible with Excel 2007 (.xlsx) format and working on .NET 3.5 (or client profile), WPF and Android platform.
I am using grd.Load("Path", FileFormat.Excel2007, Encoding.UTF8) where grd is ReoGridControl.
I am still getting NullReferenceException while loading few of the files.
at unvell.ReoGrid.IO.OpenXML.ExcelReader.AddRunIntoRichText(Document doc, RichText rt, Run r)
at unvell.ReoGrid.IO.OpenXML.ExcelReader.CreateRichTextFromRuns(Document doc, IEnumerable`1 paragraphs)
at unvell.ReoGrid.IO.OpenXML.ExcelReader.LoadWorksheet(IWorkbook rgWorkbook, Document doc, WorkbookSheet sheetIndex)
at unvell.ReoGrid.IO.OpenXML.ExcelReader.ReadStream(IWorkbook rgWorkbook, Stream stream)
at unvell.ReoGrid.Workbook.Load(Stream stream, FileFormat fileFormat, Encoding encoding)
at unvell.ReoGrid.Workbook.Load(String path, FileFormat fileFormat, Encoding encoding)
at Excel.LoadDataFromExcel(ReoGridControl grd, String filePath) in d:\ExcelLoadingTool\Loading.cs
I am using grd.Load("Path", FileFormat.Excel2007, Encoding.UTF8) where grd is ReoGridControl. I am still getting NullReferenceException while loading few of the files.