How to add "Table of Contents" in word document by C# ! ! !

A

arun

Hi All,

My need is to add TOC in word document which is going to populate through
content of Sharepoint list.
Let's an example

Sharepoint list having three columns.
1> Comapny Name
2> Location
3> No of Employees
i.e Microsoft India 1000
Sun Microsystem USA 1100

In my TOC, only company name should be there with page number.

like..

Table of Content

Microsoft..............1
Sun Microsystem..2

On next page or on same page, Content should be some what like this-->
Microsoft
India
1000

Sun Microsystem
USA
1100

So Dear friend, how can i achieve this as iam very new in dot net

Pleae if somebody is having code for this..

Thanks in Advance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top