1. A console example that enables dynamic generation of word.
First, add the reference: Com->microsoft Word 11.0 Object Library.
View Code
2. Introduction to several cattle people wrote about the operation of Word article
[Share] A section of code exported to Word templates
Http://www.cnblogs.com/goody9807/archive/2005/08/25/222526.html
Talk about word2003 programming again
Http://www.cnblogs.com/Andmm/archive/2008/06/18/1224422.html
I've been working on Office for C # lately! Sum up! Word (ii)
Http://www.cnblogs.com/wngwz/archive/2004/08/19/34678.html
C # can also dynamically generate Word documents and populate data
Http://www.cnblogs.com/qyfan82/archive/2007/09/14/893293.html
Finally, this blog summarizes the C # data import and export operations:
Http://www.cnblogs.com/cpcpc/category/428495.html
Database data Import Export series of five C # implementations to dynamically generate word (GO)