MiniExcel icon indicating copy to clipboard operation
MiniExcel copied to clipboard

Mapping to IEnumerable

Open pazicb opened this issue 1 year ago • 0 comments

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?

pazicb avatar Nov 21 '23 13:11 pazicb