[英]Show excel file in web page
我已经使用EPPlus库创建了一个excel文件,是否有一种简短的方法可以在网页中显示它而无需编写大量代码?
One solution would be to embed your report as a PDF or as a large PNG/Jpeg. 一种解决方案是将报告嵌入为PDF或大型PNG / Jpeg。
Another solution would be to embed a PDF using pdf.js 另一个解决方案是使用pdf.js嵌入PDF
http://mozilla.github.com/pdf.js/ http://mozilla.github.com/pdf.js/
This allows javascript to render a PDF without using any additional plugins, etc. (although it does need a HTML 5 browser) 这允许javascript无需使用任何其他插件等即可呈现PDF。(尽管它确实需要HTML 5浏览器)
http://mozilla.github.com/pdf.js/web/viewer.html http://mozilla.github.com/pdf.js/web/viewer.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.