Aspose Cells ImportCustomObjects fails

ImportCustomObjects always fails with object refrence not set to an instance of an object. No furthur information is available.

dataSheet.Cells.ImportCustomObjects(IncidentListDS, caption, True, 0, 0, IncidentListDS.Length, True, "dd/mm/yyyy", False)

Hi,


Could you give us sample code (runnable) or a sample console application would be sufficient. We can check your issue soon.

Also, just for your reference, check the document (especially the sub-heading “Importing from Custom Objects”):
http://www.aspose.com/documentation/.net-components/aspose.cells-for-.net/importing-data-to-worksheets.html