response导出Excel(一个新手的记录,可以时常查看,以免自己忘记)

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");

上一篇:webservices接口 file "/axis2-web/listsingleservice.jsp" not found 问题解决


下一篇:Esfog_UnityShader教程_漫反射DiffuseReflection