I am working on an application. That application should get the resume from the users, so that I need a code to verify whether a file exists or not.
I\'m using ASP.N
if (File.Exists(Server.MapPath("~/Images/associates/" + Html.DisplayFor(modelItem => item.AssociateImage)))) { } else { No image available }
I did something like this for checking to see if an image existed before displaying it.