Skip to content

bannikovilea/Flexcel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flexcel

Fluent library for excel exporting

Show me the code

Specific fields of model, field2 with custom title

// MyModel model;
ExcelFilesCreator.NewExcel()
                 .AddSheetAndSelect<MyModel>()
				 .AddColumn(m => m.Field1)
				 .AddColumn(m => m.Field2, "Another field")
				 .AddRow(model)
				 .ToFile(filePath);

All model fields

// MyModel model;
ExcelFilesCreator.NewExcel()
                 .AddSheetAndSelect<MyModel>()
				 .AddRow(model)
				 .ToFile(filePath);

Allows you export to:

  • .ToByteArray()
  • .ToFile(filePath)
  • .ToFileAsync(filePath)
  • .ToMemoryStream()

or get EpPlus package: .GetPackage()

About

Fluent library for excel exporting

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages