Replace dotx placeholder with complex table data
<p>We have a requirement to use Microsoft Word document as a template where its place-holders will be replaced. It works fine for simple place-holder replacement.</p>

<p>However the complexity comes in, when we need to add in place-holder which will be replaced by table with number of rows depending on the data retrieved from database.</p>

<p>Currently we are doing it using C# codes by generating the data before replacing into the Microsoft Word template.</p>

<p>Is there any better approach for this? Or can we use SSRS for to fulfil this requirement?</p>

<p>The end result should be the same word document with its place-holder replaced by values from database.</p>
