Is the only way to populate a Datatable using a resultset. We need to populate this from a List or a Map, or javabeans. If it is ,doesn’t this mean that the Datatable is only populated by sql? Is there any other class for merging in a table for the word document without using a ResultSet ?
Hi Marcus,
Thanks for your inquiry. To be able to use a custom data source, you need to implement IMailMergeDataSource interface. Please also check the following article:
Moreover, you can get useful example projects from Aspose.Words for Java GitHub repository.
I hope, this helps.
Best regards,
Hi,
thanks, it works
cheers
Hi Yes this works now,
cheers