我怎样才能读取.docx文件? [英] How can i read .docx file?

查看:170
本文介绍了我怎样才能读取.docx文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个.docx文件,它包含了我想要群发邮件很多电子邮件地址。如何我读的docx通过C#文件?

I have a .docx file and it contains many email addresses to which i want to bulk mail. How can i read docx file through c#?

推荐答案

最简单的方法可能是使用Open XML SDK 2.0

The easiest way is probably to use the Open XML SDK 2.0

获取<一个href=\"http://www.microsoft.com/downloads/en/details.aspx?familyid=78BEA298-A3F9-44CF-BDE0-B4F30DC986DF&displaylang=en\">$c$c为Visual Studio 2008的片段为的一些例子

和我会强烈建议下载的Open XML SDK的生产力工具,这将帮助您了解Open XML文件的结构如何,甚至可以帮你生成源$ C ​​$ C基于结构的SDK使用您的文档。您可以在同一页面作为SDK下载该工具。这是100MB,但它是值得的下载。

And I would highly recommend downloading the Open XML SDK productivity tool which will help you understand how the Open XML files are structured, and can even help you generate source code to use with the SDK based on the structure of your documents. You can download the tool from the same page as the SDK. It's 100MB, but it's worth the download.

这篇关于我怎样才能读取.docx文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆