如何把asp页面中的表格数据倒入 exel 中?

如何自动把asp页面中的表格里的数据倒入 exel 表中?
---------------------------------------------------------------

1@ Language=VBScript 
1   
2Response.Buffer = True   
3Response.ContentType = "application/vnd.ms-excel"   
 1<table border="1">
 2<tr>
 3<th>项目 A</th>
 4<th>项目 B</th>
 5<th>合计</th>
 6<th>项目 C</th>
 7<th>项目 D</th>
 8<th>合计</th>
 9</tr>
10<tr>
11<td height="30">```
12=Request.form("aa")
13```</td>
14<td>3</td>
15<td>5</td>
16<td>6</td>
17<td>7</td>
18<td><font color="red">=sum(a2:e2)*100</font></td>
19</tr>
20<tr>
21<td>2</td>
22<td>1</td>
23<td colspan="4"><font color="red">=sum(a3:b3)+f2</font></td>
24</tr>
25</table>
Published At
Categories with Web编程
comments powered by Disqus