© 1999-2048 dssz.net 粤ICP备11031372号
[其它] asp.net实现文件下载的代码
说明:代码如下: public partial class FileDownLoad : System.Web.UI.Page { //提供下载的文件,不编码的话文件名会乱码 private string fileName = HttpContext.Current.Server.UrlEncode(“规范.rar”); private string filePath = HttpContext.Current.Server.MapPath(“规范.rar”); //使用TransmifFile下载文<weixin_38560797> 上传 | 大小:79kb