How to read a word document in asp.Net and fill the TextBoxes from Document data.

Posted by EhteshamSiddiqui under ASP.NET on 1/20/2012 | Points: 10 | Views : 9673 | Status : [Member] | Replies : 1
HI,
MY application is in asp.Net MVC3.Coded in C#.Net. I want to read a Word document which is browsed by the User.And when the User Clicks Parse then the TextBoxes on the View should get populated with the Data in the Document.Or even if the Entire Documents data is displayed in a TextAreaFor of the View then also it will do.
Below are some links i already tried but no Effect.
http://forums.asp.net/p/1760672/4792886.aspx/1?Re+How+to+read+a+Word+Document+in+Asp+Net+MVC3+and+display+data+in+View+
http://www.bennadel.com/blog/859-Ask-Ben-Parsing-Microsoft-Word-XML-Into-A-Useful-ColdFusion-XML-Document.htm
http://www.bennadel.com/blog/859-Ask-Ben-Parsing-Microsoft-Word-XML-Into-A-Useful-ColdFusion-XML-Document.htm
http://www.eggheadcafe.com/community/asp-net/17/10410989/how-to-parse-a-document-in-aspnet-mvc3.aspx

Please suggest how can i read and display the document in a Textbox.
A tutorial or Demo Project will also help.
Thanks.




Responses

Posted by: Arefin on: 1/20/2012 [Member] Starter | Points: 25

Up
0
Down
You can read the following articles. May be helpful
http://www.codeproject.com/Questions/280339/Reading-pdf-txt-doc-file-in-asp-net
http://csharpdotnetfreak.blogspot.com/2009/06/read-write-word-filestream-streamwriter.html

Thanks,
Arefin

EhteshamSiddiqui, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response