Response.Clear(); //清空无关信息
Response.Buffer = true; //完成整个响应后再发送
Response.Charset = "GB2312";//设置输出流的字符集-中文
Response.AppendHeader("Content-Disposition", "attachment;filename=Report.doc");//追加头信息
Response.ContentEncoding = System.Text.Encoding.GetEncoding("GB2312");//设置输出流的字符集
Response.ContentType = "application/ms-word ";//输出流的MIME类型
Response.Write(sbMenu.ToString()); //Word文档内容
Response.End();//停止输出
来源:https://www.cnblogs.com/canwyq/archive/2012/06/12/2546657.html