Create a table from datagrid content in C# (Urgent Please)

Hi,

  1. How can I create a table from data grid in C# (sharp). Rows and Columns are not constant as data grid may grow in size at run time.
  2. I want to place that table (with all the content) at Merge field of a word (2007) document. Say the merge field name is <>.
    Thanks in Advance
    Jatin

This message was posted using Page2Forum from Inserting a Table - Aspose.Words for .NET and Java

Hi

Thanks for your request. Maybe in your case it is better to use mail merge with regions. Please follow the link to learn more:
https://docs.aspose.com/words/net/types-of-mail-merge-operations/
Hope this helps. Please let me know if you need more assistance, I will be glad to help you.
Best regards.