Map model with [NoMap] Attribute: AutoMap<ED_Student>.Convert(modelOld, modelNew);
Id long: GenerateId.NewLong(); // Auto sort DateCreated desc
Id in day: datetime.ToDayCount();
The PDF Library .NET Core. Export PDF with table, image, grid... with full format: Horizontal, Vertical, Border, Background Color, Bold...
public IActionResult PDF() {
var model = new PDFDocument(12, PageSize.A4);
model.AddCell(new PDFCell("PDF Library by HT Team") {...
More information
A .NET library for reading and writing Microsoft Office Excel:
NExcel.Export(new NExcelModel {
Headers = headers,
Bodys = results,
FileName = "Export excel"
});
var model = await NExcel.Import(excel);
var value = model.Sheet.GetRow(1).GetCell(0).ReadValue();