Set custom DataSource for WorkbookDesigner
Aspose.Cells provides the option to set custom DataSource for WorkbookDesigner. The API provides an overloaded method WorkbookDesigner.SetDataSource which takes the name of the source as the first parameter and the instance of the class that implements ICellsDataTable as the second parameter.
The following code snippet demonstrates the use of WorkbookDesigner.SetDataSource method to set the custom DataSource.
The implementation of CustomerDataSource, Customer, and CustomerList classes is given below
The source and output excel files are attached for reference.