How to dynamically append rows in OpenXML document using C#

Prakruthi K V 1 Reputation point
2021-03-02T08:18:03.127+00:00

Report generated in word format has multiple tables. One of the table data is distributed in many pages, which has column names (group header) in each page.

When some of the rows are deleted from current table and if we click on "delete" button, we need to append the rows from next page to current page until the current page is full, without their columns i.e., columns should sit at the start of each page when the rows are present. Columns should not be moved up along with rows. Only row data should get appended.

How can we achieve this using "DocumentFormat.OpenXml" extensions in C#?

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,274 questions
{count} votes