摘要: public void DownFile() { string filePath = Server.MapPath("/Files/txt/bb.txt");//文件所在位置 var fs = Response.OutputStream; using(Ionic.Zip.ZipFile zf = n... 阅读全文
posted @ 2014-07-11 16:46 SunRain117 阅读(445) 评论(0) 推荐(0) 编辑
摘要: //TransmitFile实现下载 protected void Button1_Click1(object sender, EventArgs e) { string strFileName = "dd.ppt"; Response.ContentType = "application/x-... 阅读全文
posted @ 2014-07-11 15:36 SunRain117 阅读(334) 评论(0) 推荐(0) 编辑