string path=你出数据库读出的图片地址 FileInfo f = new FileInfo(Server.MapPath(path)); if(f.Exists) { f.Delete(); }