this is to store image in source folder
if (FileUp1.HasFile)
{
string fileName = FileUp1.FileName;
FileUp1.PostedFile.SaveAs(Server.MapPath( fileName));
}
this is to delete the image in source folder
get the file name from daatabase and store in delimage as variable
if (delImage != "" && delImage != null)
{
System.IO.File.Delete(Request.PhysicalApplicationPath + "Data/" + delImage);
}