- 博客(1)
- 资源 (1)
- 收藏
- 关注
转载 .net 删除上传的图片
先引入using System.IO; 然后就: if(File.Exists(Server.MapPath("./")+"//文件名") == true) { File.Delete(Server.MapPath("./")+"//文件名") ; }
2010-01-15 10:05:00 232
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
先引入using System.IO; 然后就: if(File.Exists(Server.MapPath("./")+"//文件名") == true) { File.Delete(Server.MapPath("./")+"//文件名") ; }
2010-01-15 10:05:00 232
TA创建的收藏夹 TA关注的收藏夹
TA关注的人