如何从数据库中调出数据生成word文档 数据库为SQL,怎样才能生成word文档?谢谢! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 生成execl可以吗? 添加引用Microsoft.Office.Interop.Excel.dll,用法你自己搜吧 同理 引用Microsoft.Office.Interop.Word 生成word,具体代码 百度下吧 使用com组件创建wordusing Word = Microsoft.Office.Interop.Word;Microsoft.Office.Interop.Word.ApplicationClass app = new Microsoft.Office.Interop.Word.ApplicationClass();Word.Document doc= app.Documents.Add(ref missing, ref missing,ref missing, ref missing); rdlc 子报表类错误,先谢谢了 遍历文件夹,有10万张图片,把地址插入mysql中,用什么方法快。 接收返回的XML怎么绑定到GridView中 winform 导出excel和reportview打印出错 关于XMPP协议 请问如何解决timer在大量的计算时不会触发的问题?(WinForm) 關於c#調用dll的問題 网站页面模板怎么实现???求一个简单示例。。。。。。 高手菜鸟们请进!有兴趣留下大家的联系方式吗?有空可以交流交流! c# 方法定义 怎样用sql语句查询dataset里的数据 c#读取excel删除文件的问题
using Word = Microsoft.Office.Interop.Word;
Microsoft.Office.Interop.Word.ApplicationClass app = new Microsoft.Office.Interop.Word.ApplicationClass();
Word.Document doc= app.Documents.Add(ref missing, ref missing,ref missing, ref missing);