本文介绍了希望在基于mvc的asp.net网页中查看doc,pdf的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 大家好, i有一个网页,我希望在网页paeg.how中查看doc,pdf等文档去做。请帮帮我。 提前谢谢 更清楚 考虑我是否有一个html页面,其中包含一个div标签。我需要在html中显示指定div中的doc。 i需要在我的网页上显示我们的PDF而不需要任何插件,它需要在所有浏览器中查看 问候, shefeek Hi all,i have a webpage and i wish to view documents like doc,pdf in that web paeg.how to do that. please help me.thanks in advancemore clearlyconsider if i have an html page and which contains a div tag.i need to display the doc in that specified div in html.i need to display our PDF in my web page without any plugin and it needs to view in all browsersRegards,shefeek推荐答案 <iframe src="http://docs.google.com/gview?url=http://infolab.stanford.edu/pub/papers/google.pdf&embedded=true" style="width:600px; height:500px;" frameborder="0"></iframe> 只需将自己的文档文件设置为urlque ry string param就是这样!我在许多项目中使用它,它就像一个魅力。Just set up your own documents file to the "url" query string param and that's it! I use it in many project and it works like a charm. 这篇关于希望在基于mvc的asp.net网页中查看doc,pdf的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-29 15:00