摘要:
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 阅读全文
posted @ 2012-10-18 17:01
zorro8z8
阅读(252)
评论(0)
推荐(0)