从经典导出的 Colspan ASP

Colspan in export from classic ASP

在文件中,我有 headers 用于将文件导出到 MS EXCEL

Session.CodePage=65001
response.charset="utf-8" 
Server.ScriptTimeout = 9999999
response.write "<meta http-equiv=""Content-Type"" content=""text/html; charset=utf-8"">  "
response.ContentType = "application/vnd.ms-excel"
response.AddHeader "content-disposition","attachment;filename=websad_ExcelPlan.xls"
Response.Buffer = true

我创建了一个 HTML table:

<table>
<tr>
  <td colspan="2">A</td>
</tr>
<tr>
  <td>B</td>
  <td>C</td>
</tr>
</table>

但是属性colspan被忽略了。如何在导出中使用 colspan

删除 colspan 值中的双引号。它应该是这样的 colspan=8