Click here to Skip to main content
15,890,416 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Is it Possible to Insert Rows and adding contents in the row using with open xml method in word document.

Eg: IF the table got 2 rows, first row is header and the second row is blank, then , is it possible to add records in second row and add more rows in that table.
Posted

1 solution

Yes, it is possible. See this:
How to: Insert a table into a word processing document (Open XML SDK)[^]
Example:
C#
// Create a row.
TableRow tr = new TableRow();
// Append the table row to the table.
table.Append(tr);
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900