删除指定路径的文件
string path = this.Server.MapPath("XXXXX"); //路径FileInfo file = new FileInfo(path);if (file.Exists == true){ file.Delete();} 发布时间: 2012-12-26 14:39:28 作者: rapoo
删除指定路径的文件
string path = this.Server.MapPath("XXXXX"); //路径FileInfo file = new FileInfo(path);if (file.Exists == true){ file.Delete();}