Click here to Skip to main content
15,886,075 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Can Any Body Answer My Question?
Posted
Updated 20-Jan-14 23:22pm
v2

It's not a question. 'Can anybody answer my question' does not tell us what you've tried, or what else you've done. You can use the tools for office[^] to write code that controls office, but your clients will need the tools ( and Office ) installed. Do you have an existing document you're already creating ? Do you have one that exists and you want to add to it ? None of this is clear.

You'll just iterate over your data and create a table and populate it, in code. You can buy third party libraries that integrate with word, and I believe they don't require office on the user machine.
 
Share this answer
 
Comments
Maciej Los 21-Jan-14 15:10pm    
+5!
 
Share this answer
 
Comments
TnTinMn 21-Jan-14 16:00pm    
+5 for the list, but you missed at least one reference. :)

Adding Tables to Word 2010 Documents by Using the Open XML SDK 2.0
http://msdn.microsoft.com/en-us/library/gg490656.aspx
Maciej Los 21-Jan-14 16:07pm    
Thank you ;)
Karthik_Mahalingam 21-Jan-14 21:03pm    
5
Maciej Los 22-Jan-14 1:50am    
Thank you ;)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900