Code Generate C# Classes From Excel Header Rows
Version 2.2.2
Sheets:
Namespace:
Framework:
Instructions
1. Prepare your Excel workbook (save as .xlsx extension) and ensure you have a header row, and the
column names make good property names. Download MemberData.xlsx to see an example.
2. Upload your workbook and select one or more sheets to code generate classes for.
3. Type in a namespace for your project and click the 'Generate Classes' button.
4. Download the zip file and extract the contents to get your .cs file(s).
Tips / Troubleshooting
You must have some rows of data in each column to attempt to determine the data type. Getting the data type
is kind of a hack, as I could not find a way with EPP Plus to get the column data types.
If you have a problem generating classes, create an issue here or to clone or star:
DataJuggler.Excelerate Git Hub
If you have a problem with this site, create an issue here or to clone or star:
Blazor.Excelerate Git Hub
Data Privacy
No one has access to my server except me and my dog.
An error has occurred. This application may no longer respond until reloaded. Reload 🗙