Iam new to xamarin.I have created a Xamarin android project and added Syncfusion package using nuget.
I have tried to implement the below code but Iam getting an error stating ImportDataTable is not available
ExcelEngine excelEngine = new ExcelEngine();
IApplication application = excelEngine.Excel;
application.DefaultVersion = ExcelVersion.Excel2013;
IWorkbook workbook = application.Workbooks.Create(1);
IWorksheet worksheet = workbook.Worksheets[0];
DataTable table = SampleDataTable();
//Import DataTable to the worksheet.
worksheet.ImportDataTable(table, true, 1, 1);
workbook.SaveAs("ImportFromDT.xlsx");
workbook.Close();
excelEngine.Dispose();
On further examination I see that only ImportData function is implemented and functions to implement imports of data table and lists are not implemented. I have added references to
Syncfusion.XlsIO.Portable and Syncfusion.Compression.Portable. Is this because of any old version of Sync fusion libraries that Iam using. If so , how to download the latest one. (I can see from "Manage nuget package" space that Iam using the latest version of XLSIO.)