摘要:
js: <a href="文件的绝对路径"></a>C#: /// /// c#文件下载 /// 文件名 /// public void download(string filename) { string path = Server.MapPath(filename); if (!File.Exists(path)) { Response.Write("对不起!文件不存在!!"); return; } System.IO.FileInfo file = new System.IO.FileInfo(path); string f 阅读全文