Reputation: 752
I've been searching on ways to create letters using a C# Windows Form application in Visual Studio based on information from a local SQL server. I've seen some other topics but each answer seems to be really different.
My knowledge is pretty basic about this and wouldn't mind a step in the right direction. Is it actually possible? is there a better solution rather than creating word documents?
I only really need to be able to create a word document which has some text and and tables is this possible?
Upvotes: 1
Views: 307
Reputation: 3565
Advantage: Saves your time in manipulating with formatting and alignment in the document
Advantage: You dont need Word Interop assemblies to be deployed. Faster and recommended by Microsoft.
Upvotes: 2
Reputation: 13158
Depending on your needs, you could either simply copy a pre-existing file, or if you need to modify the document from code, you can use Microsoft Office Automation. (see C# office 2010 automation)
Upvotes: 0