如何在ASP.NET表单div标签中显示word文档 [英] How to show word document in ASP.NET form div tag

查看:68
本文介绍了如何在ASP.NET表单div标签中显示word文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以使用以下代码显示PDF



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





但如何在DIV标签中显示word文档







提前致谢...



我尝试了什么:



使用此代码我可以显示PDF文件



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

解决方案

尝试将doc转换为html&然后在div里面的页面上显示那个html。



请从这个URL获取帮助,希望这会有所帮助:



使用ASP.Net 2.0和Microsoft 11.0对象库的Word到HTML转换器 [ ^ ]


I can show PDF with following code

<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

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

解决方案

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[^]


这篇关于如何在ASP.NET表单div标签中显示word文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆