CSV FILE TO DATABASE
807598Jun 17 2006 — edited Jun 27 2006hi,
m neame coloumns awsto java. i have a requirement.i hav a csv file .i have database table which has same coloumns as the csv field names.
i have to upload the contents of the csv file in to the table.
at present i am being able to read each line in da csv file using the readLine method and storing into array.
i have to now insert this row into the database using prepared statement.
but how do i set the values into the preared statement.
i am retrieving each row from the csv.
can anyone help me