How To Read word document (like .doc, .rtf , txt ) in asp.net ?
answer me quick
when upload document file and view in preview how?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Edda BrownPosted Aug 11, 2014, 4:51 AM
I'm not sure if calling COM functions (word automation) with C# on server side is a right thing to do, read this.
As an alternative may I suggest you to check out these articles about achieving a DOC processing (reading) with C# and about achieving an RTF processing (reading) with C#. You will notice that the same approach is used for both formats and you can apply this solution for TXT files as well.
Sanjeeb LenkaPosted Aug 1, 2013, 7:48 AM
http://www.nullskull.com/a/697/read-any-document-like-doc-rtf--txt---in-aspnet--c.aspx