I\'m trying to create a program which takes input from a CSV-file and writes it to a Java-created Access database and table. The program uses a while-loop to go through the CSV-
In your code you have use Scanner.next()
which returns String
value. Most of the time your table column values not match with String
that is why you getting Numberformatexception
Most probably you may try to convert a String type one to a numeric type. Please check data types of your data that you are trying to use.