csv = New CsvReader(New StreamReader("CSVFileLocation"), True)
Dim fieldCount As Integer = csv.FieldCount
The error message "An item with the same key has already been added." on the second line. If I changed "HasReaders" to "False", there's no such error. But, I'm not able to get the Headers.
which portion is treated as header
Statement,"5-jan-2013
04:29:55 PM",India and China Group ccn 11 005 357 522,Page -1 of 1,,,,,,,,,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,Col A,Col B,Col C,Col D,Col E,Col F,,,,,,,
05-Jan-13to 04-Jan-13,Xxxxxxx Name,Dxxxxx.Xccccc,IND,Xxxxxxx Number,00000-000000,Xxxxxxx uP,XN,FGHF Date,FGHF uP,Reference,UU,DSDD,Credits,Balance,,,,,,,,FDFe Brought YY,"585,688.71","FINFISHED
","75,299.90","27,985.63","538,374.44"
05-Jan-13to 04-Jan-13,Xxxxxxx Name,Dxxxxx.Xccccc,IND,Xxxxxxx Number,00000-000000,Xxxxxxx uP,XN,FGHF Date,FGHF uP,Reference,Narrative,Ers,Bl,05-jan-13.Bal,CV,"64,289.11",,,,,"FINFISHED
","75,299.90","27,985.63","538,374.44"
05-Jan-13to 04-Jan-13,Xxxxxxx Name,Dxxxxx.Xccccc,IND,Xxxxxxx 566,00000-000000,Xxxxxxx uP,XN,FGHF Date,FGHF uP,Reference,Narrative,Ers,Bl,05-jan-13.Bal,REFUND205932,B,LAL TT2 LLLLL FGFGFGFGF,"1,100.00",,,,,"FINFISHED
","75,299.90","27,985.63","538,374.44"
05-Jan-13to 04-Jan-13,Xxxxxxx Name,Dxxxxx.Xccccc,IND,Xxxxxxx Number,00000-000000,Xxxxxxx uP,XN,FGHF Date,FGHF uP,Reference,Narrative,Ers,Bl,05-jan-13.Bal,REFUND692248,B,LAL TT8 LLLLL DFDFDFDFD,"1,141.00",,,,,"FINFISHED
","75,299.90","27,985.63","538,374.44"
05-Jan-13to 04-Jan-13,Xxxxxxx Name,Dxxxxx.Xccccc,IND,Xxxxxxx Number,00000-000000,Xxxxxxx uP,XN,FGHF Date,FGHF uP,Reference,Narrative,Ers,Bl,05-jan-13.Bal,REFUND694266,B,LAL TT6 LLLLL FDDF5 KEY REFUND BENGT VON FDFN 694266,50,,,,,"FINFISHED
","75,299.90","27,985.63","538,374.44"