摘要: System.IO.FileInfo file = new System.IO.FileInfo(path); Response.Clear(); Response.Charset = "GB2312"; Response.ContentEncoding = System.Text.Encoding.UTF8; // 添加头信息,为"文件下载/另存为"对话框指定默认文件名 Response.AddHeader("Content-Disposition", "attachment; filename=" + Serv 阅读全文
posted @ 2007-07-13 18:02 音乐啤酒 阅读(384) 评论(0) 推荐(0)