HttpResponse response = HttpContext.Current.Response;
response.ContentEncoding = System.Text.Encoding.GetEncoding("utf-8");
response.ContentType = "application/vnd.ms-excel";
response.AppendHeader("Content-Disposition", "attachment; filename=" + Order_NO + ".xls");
response导出Excel(一个新手的记录,可以时常查看,以免自己忘记)
原文:http://www.cnblogs.com/xiuselaoli/p/7275109.html