MiniExcel
MiniExcel copied to clipboard
Mapping to IEnumerable
Hello, I need to load data in the following example, including the first row
public class UserAccount { [ExcelColumnIndex(0)] public Guid ID { get; set; } [ExcelColumnIndex(1)] public string Name { get; set; } }
Unfortunately the command var rows = MiniExcel.Query<UserAccount>(path); reads the data from the second row. How to use a useheaderrow?