Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C# converting .xls to .csv without Excel [duplicate]

Tags:

c#

csv

asp.net

Need to convert a .xls or .xlsx to a .csv without the use of Excel in an C#/ASP.net web app. The application is currently using the NPOI.dll for some functionality but I do not see any info on the codeplex wiki for NPOI for that particular functionality. Does anyone have any suggestions?

Thanks

like image 455
Tim Avatar asked Jan 18 '23 15:01

Tim


1 Answers

There are libraries ( Excel Data Reader, for eg) that let you read excel. Once you are able to read data, writing to csv should be simple.

like image 128
Bala R Avatar answered Jan 30 '23 08:01

Bala R