[Solved] Input string was not in a correct format in c#, int value is not in correct format


I checked the code and it seems fine. I suggest you to check the csv file and make sure there are no headers for any columns.

solved Input string was not in a correct format in c#, int value is not in correct format