摘要:
1.创建word模版,使用MergeFeild绑定数据 新建一个Word文档,命名为Template.doc 注意:这里并不是输入"《”和“》”就可以了,而是必须在菜单的"插入→文档部件→域”找到MergeField并输入相应的域名2.使用数组提供数据源string tempPath = Serve... 阅读全文
摘要:
try { string fileStream = @"D:\moban\tempA31.docx"; Document document = new Document(fileStream); ... 阅读全文