Ignore case with v12 of PrepareHeaderForMatch in Visual Basic #1860
jorgeshimada
started this conversation in
General
Replies: 1 comment 1 reply
-
Try this csv.Configuration.PrepareHeaderForMatch = Function(header, field) header.ToUpper() |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to implement to ignore the header name case, using CSVHelper 12 in Visual Basic.
The code below didn't work. Can every explain or show me how to do it
Using csv As New CsvReader(Reader)
csv.Configuration.PrepareHeaderForMatch = (String header) >= header.ToUpper()
End Using
Any help will be appreciate. Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions