How to Import the Dataset to table

Hai,

I have two doubts in Aspose.Word

1How to Import the data from dataset or datareader?
2.I’m added the variables in the Aspose.Word document and saved that document.But it opened in the MS Office 2007 and it does not show the added variables?

This message was posted using Aspose.Live 2 Forum

Hi
Thank you for your interest in Aspose.Words.

  1. If you need to insert data from dataset or datareader into your template, I think, Mail Merge is the best option for you. Please follow the links to learn more about mail merge feature:
    https://docs.aspose.com/words/net/types-of-mail-merge-operations/
    https://docs.aspose.com/words/java/types-of-mail-merge-operations/
  2. DocumentVariable are accessible only form macros or using DOCVARIABLE fields. Could you please sure your template, code and the expected output? I will take a look and try to help you.

Best regards,