c# - Error for ExcelDataReader -


i doing project in c# , have downloaded exceldatareader codeplex , added project reference. there error in namespace 'using excel;' though have added excel, excel.4.5, microsoft.office.interop.excel project references. i'm getting error have written

 iexceldatareader excelreader = excelreaderfactory.createopenxmlreader(stream); 

the errors quoted below:

the type or namespace name 'exceldatareader' not found (are missing using directive or assembly reference?) name 'excelreaderfactory not exist in current context

how deal these errors?
thank in advance.

ps:- have added 'using excel = microsoft.office.interop.excel' directive well.

go project -> manage nuget packages..., in opened window select browse tab , type excel data reader, install it, @ top of class add using excel. able use interface iexceldatareader.

here source:

https://forums.asp.net/t/1981566.aspx?the+type+or+namespace+name+iexceldatareader+could+not+be+found


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -