How To Read word document (like .doc, .rtf , txt ) in asp.net ?
answer me quick
when upload document file and view in preview how?
How To Read word document (like .doc, .rtf , txt ) in asp.ne
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Sanjeeb LenkaRank #301 · 8.3K pointsPosted Aug 1, 2013, 3:48 AM EDT
http://www.nullskull.com/a/697/read-any-document-like-doc-rtf--txt---in-aspnet--c.aspx
Edda Brown16 pointsPosted Aug 11, 2014, 12:51 AM EDT
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.