本文介绍了在MS Word中导出数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用C#将数据从SQL Server导出到MS Word. NET?
How to EXPORT data from SQL Server to MS Word using C#. NET ?
推荐答案阅读此处以了解如何从数据库表中读取数据: progzoo/wiki/C%23:Read_From_a_Database [ ^ ] 并在此处查看将数据写入Word文档的示例: > stackoverflow. com/questions/5766494/word-interop-app-to-write-text-to-the-end-of-open-document [ ^ ] 这些页面也很有用: msdn.microsoft/en-us/library/w1702h4a.aspx [ ^ ] support.microsoft/kb/316384 [ ^ ] 然后将这些想法融合在一起,并编写自己的导出数据应用程序. 希望对您有所帮助. Read here to learn how to read data from database table : progzoo/wiki/C%23:Read_From_a_Database[^] And have a look at here for an example of writing data into word document : stackoverflow/questions/5766494/word-interop-app-to-write-text-to-the-end-of-an-open-document[^] Also these pages are useful : msdn.microsoft/en-us/library/w1702h4a.aspx[^] support.microsoft/kb/316384[^] And then mix these ideas together and write your own export data application. Hope it helps.
检查 无需从数据库自动将数据导出到Excel,Word,PDF [ ^ ] Check Export Data to Excel, Word, PDF without Automation from DataBase[^]
检查这些博客 无需从数据库自动将数据导出到Excel,Word,PDF [ ^ ] forums.asp/t/1320121.aspx/1 [ ^ ] --NDK check these blogs Export Data to Excel, Word, PDF without Automation from DataBase[^] forums.asp/t/1320121.aspx/1[^] --NDK
更多推荐
在MS Word中导出数据
发布评论