Click here to Skip to main content
15,897,891 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to Read excel file data and save data to sql server in Asp.net Web Api2.

I am working on a WEB Api project. I want to do Import/Export functionality . Can anyone give some solution for this.
Posted
Comments
Andy Lanng 17-Oct-15 8:19am    
is the excel file xlsx only or can it include older xls files too?
Ritu1234 19-Oct-15 9:09am    
Yes, it can include both files.
Is it possible for you to send some code then it would be very helpful.
Andy Lanng 26-Oct-15 5:02am    
Sorry you had no replies. I've been on holiday.
There are plenty of opensource solutions for xslx, as the base files are very flat, xls files are not. You will need a third party api. Either MS Office apis or maybe open-office apis. You can find plenty of solutions using these apis via google or searching the articles here.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900