var pck = new OfficeOpenXml.ExcelPackage();
pck.Load(File.OpenRead("~\\EXCELS\\Book2.xlsx"));
How to map excel after hosting ...
I tried this code it is not working for me.
I tried system path it works but after hosting doesn't work
it shows
Could not find a part of the path 'C:\Windows\SysWOW64\inetsrv\~\EXCELS\Book2.xlsx'.
Can anyone help me please..