string filename = "L:/chikardarin Website/WebApplication2/image_Logo/" + ImgName; if (System.IO.File.Exists(filename)) { System.IO.File.Delete(filename); Response.Write("Deleted"); }
String path = Server.MapPath("~/image_logo/ImageName.gif");
string filename = Server.MapPath("~/image_logo/" + ImgName); if (System.IO.File.Exists(filename)) { System.IO.File.Delete(filename); Response.Write("Deleted"); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)