摘要:摘要: 今天客户要求在模式窗体下,做一个word的文件流下载。以前在非模态的窗体做过这个功能,知道在模式窗体下使用文件流弹不出下载页面,所以上网找了一些材料。解决方案描述:1、文件下载流输出方式:FileInfo file = new FileInfo(Server.MapPath(string.Format(@"\Temp\{0}", fileName))); Response.Clear(); Response.Charset = "GB2312"; Response.Buffer = true; R...
阅读全文