Unable to create a tabel of content in ms word using asp.net & c#

Hi this is prasanth…
I am creating a ms word document using asp.net code behind c#. At the same time I am placing some data and merging two word documents but I am unable to create table of content in the word document …. Like index
Abc…….1
Xyz………2
Asf……….3
Can u give me the idea how to create table of content…
vaniprasanth@yahoo.com

Hi,
Thank you for considering Aspose.
To insert a table of contents dynamically, use the DocumentBuilder.InsertTableOfContents method. Please note that you should manually update the TOC field after the creating.
Is that what you need? Feel free to post your further questions here.