System.IO.File.Copy(PhotoPath + @"\" + filename, P_Path, true);
i am using above line for if file name is already exist then replace it. but it is not work, it is not replace...
true
PhotoPath
System.IO.File.Copy(Path.Combine(PhotoPath,filename), P_Path, true);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)