.net html table 导出Excel解决思路
.net html table 导出Excel
我的html 页面代码如下:
<div style="overflow-y: scroll; height: 450px;" id="Result_div" runat="server">
<table cellpadding="0" cellspacing="0" width="100%" border="0px">
<thead>
<tr>
<td class='list-th' width="50px">
编号
</td>
<td class='list-th'>
试卷名称
</td>
<td class='list-th' width="150px">
测评对象
</td>
<td class='list-th' width="80px">
测评进度
</td>
<td class='list-th' width="60px">
平均分
</td>
<td class='list-th' width="60px">
总分
</td>
</tr>
</thead>
<tbody id="tbResult">
</tbody>
</table>
</div>
tbody 里是jquery ajax循环装的数据,我现在就是想把这个table里的数据以excel方式输出,不知该怎么弄?
------解决方案--------------------
我的html 页面代码如下:
<div style="overflow-y: scroll; height: 450px;" id="Result_div" runat="server">
<table cellpadding="0" cellspacing="0" width="100%" border="0px">
<thead>
<tr>
<td class='list-th' width="50px">
编号
</td>
<td class='list-th'>
试卷名称
</td>
<td class='list-th' width="150px">
测评对象
</td>
<td class='list-th' width="80px">
测评进度
</td>
<td class='list-th' width="60px">
平均分
</td>
<td class='list-th' width="60px">
总分
</td>
</tr>
</thead>
<tbody id="tbResult">
</tbody>
</table>
</div>
tbody 里是jquery ajax循环装的数据,我现在就是想把这个table里的数据以excel方式输出,不知该怎么弄?
------解决方案--------------------