Jason,
To make it short, how do we do the data extraction to MSWord
using ASP.Net C#?
A short answer to a short question. I see two options here:
1. Install Word on the server, and control it using some form of automation
to create the documents you need.
2. Create the Word file directly and send it to the browser. This would
require you to either find out the file format Word uses, or buy a
third-party component to do the same.
Of these two, option 2 is way better, though you might be able to get option
1 working, if your requirements are very light and you have only a handful
of users.
Then again, Word supports many file formats nowadays -- you can even feed
HTML into it. Also, PDF files are very capable of displaying text and
graphics, and there are many ASP.NET aware components to create them. On the
downside, they are not (easily) editable.
A final note: the next version of Word will use XML as the default file
format. This could make your life a lot easier.
--
Regards,
Mr. Jani Järvinen
C# MVP
Helsinki, Finland
ja***@removethis.dystopia.fi http://www.saunalahti.fi/janij/