开发者

How can I export HTML table to Excel using Mozilla 3.6?

开发者 https://www.devze.com 2023-01-31 10:18 出处:网络
I have a table in HTML format. <tableid="table" title="banner"border="1" align="center" >

I have a table in HTML format.

<table  id="table" title="banner"  border="1" align="center" >
<tr><th>ID</th><th>Name</th><th>Month<开发者_如何学编程;/th><th>Savings</th></tr>
<tr><td>101</td><td>Ramesh</td><td>January</td><td>$100</td></tr>
<tr><td>102</td><td>Ram</td><td>Feb</td><td>$200</td></tr>
<tr><td>103</td><td>Ramna</td><td>Mar</td><td>$300</td></tr>
</table>
    </body>
    </html>

I am using Mozilla 3.6 .so any on help me how can I export the results to Excel sheet ?


I don't think HTML is the technology you are looking for. If you have a CSV file it can be imported into EXCEL to view the information.


This can only be properly done on the server. Most common way is to use a library like Apache POI for Java.

0

精彩评论

暂无评论...
验证码 换一张
取 消