What's the best approach to generate Word document based on existing templates
问题 TL;DR Can I generate Word documents with .NET like XAML ItemTemplates? I'm finding it pretty hard to come up with a solution that meets all my requirements, so I thought I'll throw this out to stackoverflow in the hope someone can guide me. Much thanks in advance. Simply put, I need to generate Word document based on data from a database. My ideal solution: I want it to work like how DataTemplates work in xaml. I've found heaps of examples and solutions where the Template represents a static