Skip to content

How to Read data from MS-Word and display in Text box

santhosh kumar

Asked Dec 19, 2014, 1:19 AM EST1 answer
Share
LinkedInX
Hi....
my requirement is..........
using upload control word document should be uploaded and
Read data from the uploaded document and display in Text box of asp.net

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    If you want to extract the actual text from the document file, you might need to use Office Automation (MS Word COM interfaces) at the server side. Here's a blog that discusses this:
    http://emalvass.blogspot.com/2010/01/how-to-use-office-2007-automation-in.html

    But if you are trying to create an online document viewer, you can use HTML5 controls to view your documents as images. Note that since loading documents is not natively supported by web browsers in general, you might need to use WCF or REST services to load the documents on server side, and then pass the loaded images back to the client for display.

    This forum post shows an example for a service-based online document viewer:
    http://support.leadtools.com/CS/forums/44272/ShowPost.aspx
    0