ASP.NET ファイルダウンロード
・ボタンイベントに、Responseを書くだけ
・HTTPのGET/POST命令を勉強しておくと理解しやすい
Response.ContentType = "aplication/vnd.ms-excel";
Response.AppendHeader("Contnet-Disposition","attachment; filename=xxx.xls");
Response.End();
・ボタンイベントに、Responseを書くだけ
・HTTPのGET/POST命令を勉強しておくと理解しやすい
Response.ContentType = "aplication/vnd.ms-excel";
Response.AppendHeader("Contnet-Disposition","attachment; filename=xxx.xls");
Response.End();