You could use the OpenXml library to read and manipulate Excel files. Here is an example code to read the content of an Excel file:
main.cs1278 chars43 lines
To use this method, call ReadExcelFile("path/to/excel/file")
.
The method returns a list of rows, where each row is represented by a list of strings representing the cells.
gistlibby LogSnag