View Single Post
 
Old 11-12-2008, 11:21 PM
arun singh arun singh is offline
Novice
 
Join Date: Nov 2008
Posts: 1
arun singh is on a distinguished road
Default How to add Table of Content in word document by C# ! ! !

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

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

arun singh
Reply With Quote