Hi Roman,
As you requested attached is the sample template document with some merge fields, the output document with your ASPOSE.WORD(latest version released today), the stored proc to populate the document (in .sql and .txt format) and the actual o/p data of the stored proc in a CSV file. The SP returns 2 tables. First table returns the mergefields data and the second table return data indicating which section has to be deleted.
Attached also is the web form code behind and a utility class in a text file. I return the second table in the stored proc just for the delete logic of the numbered sections.
Having the following problem:
a>With the numbered section I am having a problem. The section doesn’t
a>get
deleted as numbered. The numbering started from 1 till 6 in the doc. Please let me know what am I doing wrong.
b>The merge field in the first section doesn’t get populated though
b>there
was a value.