View Single Post
  #4 (permalink)  
Old 04-17-2008, 04:16 PM
raj reddy raj reddy is offline
Member
 
Join Date: Apr 2008
Posts: 30
raj reddy can only hope to improve
Quote:
Originally Posted by sanjeevtarar View Post
Hello Raj,

Try this

String Fname = String.valueOf(rs.getInt("tktkey"));

Or

String Fname = rs.getInt("tktkey")+"";



sanjeev
Hi sanjeev

can u pls help in this application




Hi

There were two arraylists


List al1 = (List) classabc.fetchTicketpanel();
System.out.println("THE LATEST VALUES OF THE TICKET KEY1 IS " + al1 );

List al2 = (List) classabc.fetchDrawresults();
System.out.println("THE LATEST VALUES OF THE TICKET KEY2 IS " + al2 );


Think it as a1,a2,a3,a4,a5 are the elements of al1 and b1,b2,b3,b4,b5,b6,b7,b8,b9,b10.........n number of elements

of al2.


how to compare the elements of these two arraylists.

please i need the code of comparing these two array lists.
Reply With Quote