31 lines
814 B
C#
31 lines
814 B
C#
namespace Kit.Helpers.OpenXml.SLExcel
|
|
{
|
|
using System.Collections.Generic;
|
|
using DocumentFormat.OpenXml.Spreadsheet;
|
|
|
|
public class SLExcelStatus
|
|
{
|
|
public string Message { get; set; }
|
|
public bool Success
|
|
{
|
|
get { return string.IsNullOrWhiteSpace(Message); }
|
|
}
|
|
}
|
|
|
|
public class SLExcelData
|
|
{
|
|
public SLExcelStatus Status { get; set; }
|
|
public Columns ColumnConfigurations { get; set; }
|
|
public List<string> Headers { get; set; }
|
|
public List<List<string>> DataRows { get; set; }
|
|
public string SheetName { get; set; }
|
|
|
|
public SLExcelData()
|
|
{
|
|
Status = new SLExcelStatus();
|
|
Headers = new List<string>();
|
|
DataRows = new List<List<string>>();
|
|
}
|
|
}
|
|
}
|