We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Mail Merge and LINQ

Does Aspose Words Mail Merge support LINQ query result (IQueryable or IEnumerable) as a Datasource?
Is there any plan to support it?

Thanks,
Sudheer

Hi

Thanks for your inquiry. No, Mail Merge does not support LINQ query result as Datasource. I think you should just convert LINQ query result to DataTable and use DataTable as data source. You convert LINQ query result to DataTable
Also, you can use LINQ Reporting engine instead of Mail Merge:
https://docs.aspose.com/words/net/linq-reporting-engine/

Hope this helps.

Best regards.