hi,
I have a workbook with excelsheets those sheets have with image company logo.
i am able to show image on Gridweb but when try to save to excel it gives me error:
first issue with Gridweb when save to excel using this code:
GridWeb1.WebWorksheets.SaveToExcelFile("RegMonthEnd.Xlsx");
ERROR:
Unable to cast object of type 'Aspose.Cells.GridWeb.Data.Picture' to type 'System.Collections.SortedList'.
second issue i comment out image and than try to save file gets saved in xlsx format but when try to open that file it says file corrupted .
I have attached code for your refernce. I am using datasource for webgrid:
GridWeb1.WebWorksheets.ImportExcelFile(wb.SaveToStream());