I have a C# application where i want to implement a logic for a programm which will open the word document and go to a certain place in the page and create a Table and put values in that. Can any one tell me how to implement this. I am using Visual studio 2005
-
Look up "Word Automation".
For example, KB316384, which covers:
The sample code in this article demonstrates how to do the following:
- Insert paragraphs with text and formatting.
- Browse and modify various ranges within a document.
- Insert tables, format tables, and populate the tables with data.
- Add a chart.
-
This should help as well.
http://www.codeproject.com/KB/cs/Word_Automation.aspx -
If you don't want to use Word Automation, e.g. you don't have Word installed on the computer running your program, you should have a look at Aspose.Words.
The only problem is that it's not free.
-
i am looking to format my dynamic html asp.net table. can some one give me url or expalin, how to formate dynamic tables in asp.net
thanks
-
Word will quite happily open a file in HTML with the extension .Doc. You can have all the formatting you want by using an internal style sheet. A very similar question came up here:
0 comments:
Post a Comment