摘要:
string path = Server.MapPath("~/字符串专题.doc");//文件的路径 System.IO.FileInfo file = new System.IO.FileInfo(path); Response.Clear(); Response.Charset = "utf-8";//设置输出的编码 Response.ContentEncoding = System.Text.Encoding.UTF8; // 添加头信息,为"文件下载/另存为"对话框指定默认文件名 Response.AddHeader(&qu 阅读全文