开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜