title: How can I create a header in a table for each new page with OpenXml Wordprocessing
body: <p>I am trying to create a table with a header. I want this header to be repeated for each new page that the table takes. How can I do this in C# and OpenXml Wordprocessing?</p>
  
  <pre><code>DocumentFormat.OpenXml.Packaging.WordprocessingDocument internalDoc = 
  DocumentFormat.OpenXml.Packaging.WordprocessingDocument.Open(stream, true);
  
  var tables = wordDoc.MainDocumentPart.Document.Descendants&lt;SdtBlock&gt;().Where
  ( r =&gt; r.SdtProperties.GetFirstChild&lt;Tag&gt;().Val.Value.StartsWith(DATA_TABLE_TAG));
  
  Table table = tables.Descendants&lt;Table&gt;().Single();
  //Here can I set some property to repeat the header of the table? 
  </code></pre>