Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I can show PDF with following code

HTML
<embed src="Reports/Test.pdf" width="350" height="500" alt="pdf" pluginspage="http://www.adobe.com/products/acrobat/readstep2.html">


But how to show word document in DIV tag



Thanks in advance...

What I have tried:

With this code i can show PDF Document

HTML
<embed src="Reports/Test.pdf" width="350" height="500" alt="pdf" pluginspage="http://www.adobe.com/products/acrobat/readstep2.html">
Posted
Updated 22-Feb-17 4:34am

1 solution

Try to convert doc to html & then display that html on the page inside div.

Please take help from this URL hope this will help:

Word to HTML Converter using ASP.Net 2.0 and Microsoft 11.0 object Library[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900