62,039
社区成员
发帖
与我相关
我的任务
分享
Response.Clear();
Response.Buffer = true;
Response.CharSet = "GBK";
Response.ContentEncoding = System.Text.Encoding.UTF8;
Response.ContentType = "application/vnd.ms-excel";
Response.AppendHeader("Content-Disponsition","attachment;filename=" + name);
Response.BinaryWrite(bytes);
Response.End();