inf : http://stackoverflow.com/questions/440892/how-to-output-an-excel-xls-file-from-classic-asp
<%@ Language=VBScript %>
<%  Option Explicit
 Response.ContentType = "application/vnd.ms-excel"
 Response.AddHeader "Content-Disposition", "attachment; filename=excelTest.xls"
%>
<table>
    <tr>
        <td>Test</td>
        <td>Test</td>
    </tr>
 <tr>
 
 </tr>
  <tr>
 </tr>
 
 test test
 <tr>
 </tr>
 <tr>
 </tr>
</table>
<table>
    <tr>
        <td>Test</td>
    </tr>
</table>
沒有留言:
張貼留言