Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

populate the query values from reading .xlsx file  RSS feed

 
Ranch Hand
Posts: 536
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


I am using above code to read content of XLSX.

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
>>>sheetParser.parse(sheetSource);

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
 
Marshal
Posts: 59711
187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Too difficult for “beginning”. Moving discussion.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!