<%
'Response.AddHeader "Content-Disposition", "attachment;filename=members.xls"
'Response.ContentType = "application/vnd.ms-excel"
---------------上面是w o r d
Response.AddHeader "Content-Disposition", "attachment;filename=NAME.doc"
Response.ContentType = "application/msword"
---------------上面是xls
response.write "内容>"
%>