输出StringBuilder的文件流,总是一闪而过,却不提示保存,在Maxthon2中和其它机器的浏览器中却正常,实在搞不懂了 Response.Clear()
Response.Buffer = True
Response.Charset = "GB2312"
Response.AppendHeader("Content-Disposition", "attachment;filename=mcdatamdx.xls")
Response.Output.Write(OutStr.ToString)
Response.Flush()
Response.End()
Response.Buffer = True
Response.Charset = "GB2312"
Response.AppendHeader("Content-Disposition", "attachment;filename=mcdatamdx.xls")
Response.Output.Write(OutStr.ToString)
Response.Flush()
Response.End()
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货