Skip to content

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

License

Notifications You must be signed in to change notification settings

OmarElabd/ExcelToClasses

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

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" };

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published