How can I add new values to an uploaded application/vnd.ms-excel
file in C#?
Can anybody help?
Asked
Active
Viewed 665 times
0

Ry-
- 218,210
- 55
- 464
- 476

freethinker
- 2,257
- 4
- 26
- 49
-
2You need a managed Excel library. I don't know of any free ones. – SLaks Dec 07 '11 at 19:15
-
See: http://stackoverflow.com/questions/444522/import-and-export-excel-what-is-the-best-library – James Dec 07 '11 at 19:30
1 Answers
1
If you're using Excel 2007/2010 you can make use of Microsoft's added XML standard with various third party libraries.
I've used EPPlus in the past, but its license dictates if you release your project to the public you must release its source as well.
For that reason I've used ClosedXML to manipulate excel files (.xlsx and .xlsm). You open workbooks from a disk location, or from a filestream.

James
- 2,445
- 2
- 25
- 35
-
1EPPlus' license has been changed to LGPL as of Jan 31, 2012 (v 3.0.0.2). – Billy Jo Jul 18 '12 at 16:26