Hello,
I am using the Spire.XLS SDK. One of the uses is to export data from a database to an xlsx file. I pass the dataset into my function and iterate over the tables calling InsertDataTable on each one. This has worked well for me...however I have one table that is not exporting properly. In the failing case one of my columns is a byte[].
No errors are thrown however when I open the exported file I see that the column that should have a byte in it has System.Byte[]
My code looks like this:
Dim book As Workbook = New Workbook()
book.Worksheets.Clear()
book.Version = ExcelVersion.Version2010
Dim counter As Integer = 0
For Each table As Data.DataTable In ds.Tables
Dim sheet As Worksheet
sheet = book.Worksheets.Add(table.TableName)
sheet.InsertDataTable(table, True, 1, 1)
Next
book.SaveToFile(myFilePath, ExcelVersion.Version2007)
Any suggestions?