Response.Clear();
Response.Buffer = true;
Response.Charset = "UTF8";
Response.AppendHeader("Content-Disposition", "attachment;filename=FileName.xls");
Response.ContentEncoding = System.Text.Encoding.UTF8;
Response.ContentType = "application/ms-excel";
Response.Write(ss);
Response.End();非页面中的类(没有继承web.ui.page)
我自己建立的类,但用Response会出现问题,怎么解决这个问题,3Q
以用过的方法:HttpReponse response = null;
然后:response.Clear();
...
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货