2
Answers

How to get Numbered Headings as in word using c# code.

I am preparing a word document using C#.I am using Microsoft.Office.Interop.Word.I got stuck while numbering the paragraphs.

Suppose I have to print like this in the word document.

1. Heading1

some text is here



1.1 Sub heading1

some text is here



1.1.1 Sub heading2

some text is here



2. Heading2

some text is here



Please help me. I have tried so many things but not able to do that.
Answers (2)
0
Anjali Khan

Anjali Khan

NA 738 42.2k 7y
Frnds
 
not copied table data only procedure n function
0
Laxmidhar Sahoo

Laxmidhar Sahoo

NA 2.3k 1.4k 7y
madam
 
follow the below procedure to take script
 
 
 
Choose the advance button from the bellow dialog box at the top
 
 
select schema and data from the dropdownlist in the bellow dialogbox of option
 
Type of data to script
 
 
0
Esakki Muthu

Esakki Muthu

NA 882 342 7y
If the SQL server versions are same then just take a backup of your database (.bak file) and retore it in the new system. OR 
While generating the scripts choose "Schema With Data" option