Uploaded image you can easily delete by server side code.
Good Day!!!
try { FileInfo TheFile = new FileInfo(MapPath(".") + "\\" + FileName); if (TheFile.Exists) { File.Delete(MapPath(".") + "\\" + FileName); } else { throw new FileNotFoundException(); } }
Good Day!!!
No comments:
Post a Comment