看板 C_Sharp 關於我們 聯絡資訊
※ 引述《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"; 這樣? -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 60.248.143.145 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/C_Sharp/M.1561976469.A.C9E.html