Hello
I am using MailMerge feature for export to word.But my requirement needs that entire table structure should be repeated,instead of rows.I am attaching a Word document to show the same
Regards
Hi Ashish,
Thanks for your inquiry. Please use TableStart field before table and TableEnd field After table. Please check the attached test document for your kind reference. I suggest you please read the following documentation links for your kind reference.
https://docs.aspose.com/words/net/types-of-mail-merge-operations/
https://docs.aspose.com/words/java/types-of-mail-merge-operations/
Hello , Tahir
Thanks for your reply
Plz find attached doc file .
I want to use execute with region , where I will pass DataTable and data is exported in table in doc file.
But I want Each row of DataTable is formed in Word Table where each column from DataTable presented as a separate Row of Word Table
please see Attachment where Sunday’s Data is in single row of DataTable but presented in Entire Table of Word Table where coloumn1 coloumn2 coloumn3 coloumn4 as seprate row
Please help me to achieve this .
Regards ,
Ashish
Hi Ashish,
Thanks for your inquiry. Please read the following documentation link for your kind reference.
https://docs.aspose.com/words/net/types-of-mail-merge-operations/
It would be great if you please share following detail here for our reference. We will then provide you more information about your query along with code.
- Please share the structure of DataTable. Please create an Excel document which have the Data of DataTable. You can use any test data in it.
- Please use that test data and create expected output document and share it.
As soon as you get these pieces of information to us we’ll start our investigation into your issue.
Hello Tahir,
Thanks for your reply ,
Please find attached Excel file and Expected Word Image.
Regards ,
Ashish Pote
Hi Ashish,
Thanks
for sharing the detail. As per my understanding, you want to create a
separate table for your records group by date. Please check the attached
ExpectedOutput.docx. I have created this expected output document from shared data. Please share if you want the same output document.
Moreover, you can build a table from a DataTable using DocumentBuilder. Please read following documentation link.
https://docs.aspose.com/words/net/how-to-build-a-table-from-a-datatable/