h

i

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

2005年1月3日

摘要: 用此种方法进行文件下载 System.IO.FileInfo file = new System.IO.FileInfo(path); Response.Clear(); Response.AddHeader("Content-Disposition", "attachment; filename=" + HttpUtility.UrlEncode(file.Name)); ... 阅读全文
posted @ 2005-01-03 16:07 qzp 阅读(1011) 评论(0) 推荐(0)

摘要: 用此种方法进行文件下载 System.IO.FileInfo file = new System.IO.FileInfo(path); Response.Clear(); Response.AddHeader("Content-Disposition", "attachment; filename=" + HttpUtility.UrlEncode(file.Name)); ... 阅读全文
posted @ 2005-01-03 16:01 qzp 阅读(947) 评论(0) 推荐(0)