标签:关于 false content tostring encoding enc state filename chm
下边内容是关于ASP.NET中将网页HTML保存到Excel下载的内容。
Response.Clear();
Response.Buffer= true;
Response.AppendHeader("Content-Disposition","attachment;filename="+DateTime.Now.ToString("yyyyMMdd")+".xls");
Response.ContentEncoding=System.Text.Encoding.UTF8;
Response.ContentType = "application/vnd.ms-excel";
this.EnableViewState = false;
标签:关于 false content tostring encoding enc state filename chm
原文地址:https://www.cnblogs.com/boysbye/p/10281684.html