Click here to Skip to main content
15,891,851 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
how to export html table data to excel (the html table is dynamically binded and it is not a gridview)
Posted

How about the Open XML SDK http://openxmldeveloper.org[^]:
Quote:
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

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.
 
Share this answer
 
v2
 
Share this answer
 
Comments
AmitGajjar 14-Apr-14 20:05pm    
+4 for the good link. but the jquery plugin looks not working in IE as per the discussion. if it works for OP i will update rating with 5 :)
Thanks Amit. :)

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