从Word文档中提取文本 [英] extracting text from word document
本文介绍了从Word文档中提取文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我应该如何从ms word文档中提取每个单词.
而且我想将这些单词存储到数据库中.
解决方案
您有没有机会查看这篇文章
http://www.codeproject.com/KB/cs/getwordtext.aspx [ ^ ]
现在将此Data1传递到您的数据库.
浏览此链接
http://www.c-sharpcorner.com/UploadFile/Globalking/fileAccessingusingcsharp02242006050050AM/fileAccessingusingcsharp02.aspx [ ^ ]
http://www.eggheadcafe.com/PrintSearchContent.asp?LINKID=1006 [ ^ ]
how shall i extract each and every word from ms word document.
and i want to store these words into database .
解决方案
Did you got a chance to check this article
http://www.codeproject.com/KB/cs/getwordtext.aspx[^]
byte[] Data1 = File.ReadAllBytes(C:\WinWord1.doc);
Now Pass this Data1 to your DB.
Go through this links
http://www.c-sharpcorner.com/UploadFile/Globalking/fileAccessingusingcsharp02242006050207AM/fileAccessingusingcsharp.aspx[^]
http://www.eggheadcafe.com/PrintSearchContent.asp?LINKID=1006[^]
这篇关于从Word文档中提取文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文