Hi
Thanks for your request. If you want to repeat header row at the top of
each page then you should
set “Table properties”/”Row”/”Repeat as header row at the top of each page” =
true to repeat your header at each page.
Also you can do this programmatically. Set HeadingFormat = true for your heading row. See the following example.
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
builder.RowFormat.HeadingFormat
= true;
builder.InsertCell();
builder.Write("header");
builder.InsertCell();
builder.Write("header");
builder.EndRow();
builder.RowFormat.HeadingFormat = false;
for (int i = 0; i < 100; i++)
{
builder.InsertCell();
builder.InsertCell();
builder.EndRow();
}
builder.EndTable();
doc.Save(@"out.doc");
But in your document you created two different tables only.
Best regards.