ras ras

ras ras

  • 1.6k
  • 154
  • 1.4k

EDPLUS for Excel to datatable

Mar 29 2017 2:46 AM
 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..
 


Answers (1)