Re: [問題] 轉存xls格式

作者: kisha024 (4545454554)   2019-07-01 18:21:07
※ 引述《phantomofkid ()》之銘言:
: 大家好
: 我想使用下面的程式碼將網頁內容轉存為xls格式
: Response.AddHeader "Content-Disposition","attachment;filename=test.xls"
: Response.ContentType = "application/vnd.ms-excel"
Response.AddHeader("Content-Disposition","attachment;filename=test.xls;");
Response.ContentType = "application/vnd.ms-excel";
這樣?

Links booklink

Contact Us: admin [ a t ] ucptt.com