asp.net delete image from folder code example
Example: C# how to remove an image in a folder
var filePath = Server.MapPath("~/Images/" + filename);
if(File.Exists(filePath))
{
File.Delete(filePath);
}
var filePath = Server.MapPath("~/Images/" + filename);
if(File.Exists(filePath))
{
File.Delete(filePath);
}