的Page_Load中添加这样的代码: Page.Response.Clear(); bool success = ResponseFile(Page.Request, Page.Response, "目的文件名称", @"源文件路径", 1024000); if (!success) Response.Write("下载文件出错!");Page.Response.End(); 文件下载函数代码为: public static bool ResponseFile(HttpRequest _Request,HttpResponse _Response,string _fileName,string _fullPath, long _speed) } 相关文章: 2022-12-23 2021-11-25 2022-12-23 2021-05-17 2021-09-20 2022-01-12 2021-12-03