How to read excel file using NPOI in Web Api?
Loading
How to read excel file using NPOI in Web Api?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Pasang TamangPosted Jan 10, 2023, 11:32 AM
Hi,
Check below code
You can check article from below link also for detail explanation.
https://www.c-sharpcorner.com/article/read-posted-excel-file-from-ajax-using-npoi-in-asp-mvc/.
Regards,
Pasang
Vishal JoshiPosted Jan 10, 2023, 12:25 PM
Hello Sujay,
You can do it by installing NPOI in your project.
Install it with the below command. or install it using NuGet Package manager.
Try the below Sample code to read Excel Report.
Thanks