日期:2014-05-19  浏览次数:20391 次

输出文件流问题
输出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()

------解决方案--------------------
OutStr.ToString 是啥