Hi Everyone,

I am new to POI. So, I start learning it by experimenting with this library.
I was trying to use this kind of scenario:
I have a Microsoft Excel file where there are many data. I wanted to write a
method in my Java Application which will take a String as an argument and
retrieve the list of the rows, by comparing that String with the first cell
of each row's String.

Ex:
A0001   IITB    IITB    Btech    10/8/1999      20/06/2003      Btech    Btech 
Btech
A0001   IITB    IITB    Btech    10/8/2003      20/06/2005      Btech    Btech 
Btech
A0001   IITB    IITB    Mtech 21/6/2005 20/12/2006      Mtech Mtech Mtech
A0002   IITB    IITB    Mtech 21/6/2005 20/12/2006      Mtech Mtech Mtech
A0002   IITB    IITB    Mtech 21/6/2005 20/12/2006      Mtech Mtech Mtech

In this case, If I pass "A0001" string in my method, the method will return
a list containing first 3 rows.

This is same like getting Records from DB according to a specific query.

Thanks in advance.

Regards,
Sumved Shami


-- 
View this message in context: 
http://www.nabble.com/Retrieving-rows-from-excel-file-according-to-a-specific-query-tp20619562p20619562.html
Sent from the POI - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to