hi, i m new in programming and its my first project . i make a HR system for textile industry.my question is that when i want to delete employee general information i also want to delete its picture which is in project/hrsystem/images. i use file.delete
but exception occur that the file is used by other process so cant delete . im using Wpf with MVVM pattern here is my code.
public void Execute(object parameter)
Image img = (Image)parameter;
in view model:
public void DeleteEmpFullInfo(string abc)
ManageEmployeeInfoDal meid = new ManageEmployeeInfoDal();
View Complete Post