Free Support Forum - aspose.com

Repeat Table Header in New Page. Using Word 2007 as template

I have datatable containing information more than 25 rows (actually fecthiing from database. it might be 50 or 100 or less)
which cannot bind in single page. So i need to append Datatable headers in next page also.

Please help. Its almost one hour passed.

I am using word 2007 as template. In template, only front page is there. Using Document Builder to show all the information including tables.

@sakhan14,

Thanks for your inquiry. In your case, you need to enable option “Repeat row as header on subsequent pages” in your template. You can find it under Row tab in table’s properties.

  1. In the table, right-click in the row that you want to repeat, and then click Table Properties.
  2. In the Table Properties dialog box, on the Row tab, select the Repeat as header row at the top of each page check box.
  3. Select OK.

With Asposee.Words, you can enable or disable this option using RowFormat.HeadingFormat property. Please refer to the following article.
Specifying Rows to Repeat on Subsequent Pages as Header Rows

Thank you Tahir. You saved my day.