|
-
November 8th, 2006, 08:48 AM
#1
howo to populate word document
hai friends
i want to generate word document by populationg it with the values fethed from sql server database
can u tell me thay way to do it
-
November 8th, 2006, 11:23 AM
#2
Re: howo to populate word document
1. Word automation
Adv: ????
Disadv:
you need to have word application in the machine that creates the word document.
Great care needed when you program. If you don't program carefully (fail to release the COM object properly), word applicaiton won't close when you call "Quit" method. you will see mutiple instance of word application running in the background.
2. Third party components:
Adv: Easy to use. Some of them are written in .NEt itself. So, no overhead of marshalling and all.
DisAdv: you need to pay per license. If the word version changes in future, you may need to upgrade the Thirdparty component.
3. Creating rtf file:
Adv: cross platform. small file size. no licensing or dependency of any application.
DisAdv: big learning curve. you need to learn the entire rtf specification if you want to create the component on your own.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|