Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Read and Write Excel Files C#

Tags:

c#

excel

Is there any easy to implement library that can be used to read excel files and may be create them later on? is this my best bet?

http://support.microsoft.com/kb/302084

like image 620
Afnan Bashir Avatar asked Dec 06 '22 23:12

Afnan Bashir


2 Answers

Try this: http://epplus.codeplex.com

EPPlus is a .net library that reads and writes Excel 2007/2010 files using the Open Office Xml format (xlsx).

like image 144
Leo Chapiro Avatar answered Jan 29 '23 17:01

Leo Chapiro


If you are willing to commit yourself to a later version of Excel (2007+) you can also take a look at the OpenXML SDK. It's free, doesn't tie you to having MS Office installed on the machine it will be running on and there are quite a few resources available on how to use it online (including blogs from the OpenXML team).

like image 28
Roman Avatar answered Jan 29 '23 19:01

Roman