Answers for "c# asp.net how to delete image from folder"

C#
1

C# how to remove an image in a folder

var filePath = Server.MapPath("~/Images/" + filename);
if(File.Exists(filePath))
{
    File.Delete(filePath);
}
Posted by: Guest on July-27-2020

Code answers related to "c# asp.net how to delete image from folder"

C# Answers by Framework

Browse Popular Code Answers by Language