LvMax 发表于 2013-1-26 14:27:54

删除指定路径的文件

string path = this.Server.MapPath("XXXXX");   //路径FileInfo file = new FileInfo(path);if (file.Exists == true){    file.Delete();}
页: [1]
查看完整版本: 删除指定路径的文件