We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to transfer a (last -1) row of the table on other page?

I have following situation: there is a template-table from three rows
- the first row A is heading
- the second row B
- the third row C - simply last row.

Further I use merge:
doc.MailMerge.ExecuteWithRegions(FilledCommonTable);
and the second row B repeats N times.

Sometimes after merge happens so: last row B is in the end of one page, and row C is on following page. It is necessary for me to check up: if such has occured, it is necessary to move last row B on following page to row C.

Is a idea how to do this?

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. Maybe in your case, you can just use “Keep With Next” option. Please see the following forum thread for more information:

Also please attach your template, output and expected output documents. I will check them and provide you more information.

Best regards,