excel处理占用内存非常大 , 输出倒csv也不如这个来的简单。 以php脚本为例:

<?php
header("Content-type:application/vnd.ms-excel");
header("Content-Disposition:filename=demo.xls");
?>
<table>
<tr>
  .......
</tr>
&lt;/table>