I need to capture all first two column values( say username and password columns) of the .xlsx file.
I need to query database in a for loop etc with each set of username and password got from .xlsx file first two columns.
Then find the missing records in database and send csv file with missing record as email to user.
Querying, generating, emailing csv part of the code is with me. I would like to know how to populate first two columns of the data into the query.
processSheet() method has
outputting all the data to console I believe. From Here I need to pass the first two columns of the .xlsx to the query. Please advise.
Any ideas, suggestions, sample code, links, source code highly appreciated. Thanks in advance