Generate c# classes from worksheet headers inside an excel workbook (.xls). Useful for data conversion projects.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 0b9fc37 Oct 7, 2015
Permalink
Failed to load latest commit information.
ExcelToClasses fixed .dll path Feb 15, 2015
README.md Update README.md Oct 7, 2015

README.md

Excel To Classes

Generate C# classes from worksheet headers inside an excel workbook (.xls). Useful for data conversion projects.

#Get It Here https://www.nuget.org/packages/ExcelToClasses/

#Usage: Please modify ClassGenerator.tt with the file path to your excel file.

Modify this line:

List<string> filePaths = new List<string>{ @"(YOUR FILE PATH HERE).XLS" };

Add as many paths as you like with:

List<string> filePaths = new List<string>{ @"(YOUR FILE PATH HERE).XLS" };
filePaths.Add(@"(YOUR SECOND PATH HERE).XLS");

OR

List<string> filePaths = new List<string>{ @"(YOUR FILE PATH HERE).XLS", @"(YOUR SECOND PATH HERE).XLS" };