如何将html表数据导出到excel(html表是动态绑定的,它不是gridview) [英] how to export html table data to excel (the html table is dynamically binded and it is not a gridview)
问题描述
如何将html表数据导出到excel(html表是动态绑定的,它不是gridview)
how to export html table data to excel (the html table is dynamically binded and it is not a gridview)
推荐答案
看看如何使用Jquery将HTML表格数据导出到Excel工作表 [ ^ ]。
Open XML SDK如何 http://openxmldeveloper.org [ ^ ]:
How about the Open XML SDK http://openxmldeveloper.org[^]:
Open XML SDK for JavaScript是一种轻量级JavaScript API,可用于创建,修改或查询Open XML文档。它在以下场景中很有用:
•在浏览器中运行的客户端Open XML应用程序
The Open XML SDK for JavaScript is a light-weight JavaScript API that enables you to create, modify, or query Open XML documents. It is useful in the following scenarios:
•Client-side Open XML applications that run in the browser
我用过它在服务器方面很重要,它是恕我直言,处理Office文档的最佳方式。我不认为它会为你节省一些繁琐的迭代,但是有一个浏览器版本(^),所以为什么不尝试一下!?
希望这会有所帮助。
I used it heavily server side and it is IMHO the best way do process Office Documents. I don't think it will save you some cumbersome iteration on your table, but there is a browser version(^), so why not give it a try !?
hope this helps.
这篇关于如何将html表数据导出到excel(html表是动态绑定的,它不是gridview)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!