Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: AW: Resultset problem


Message #1 by "Ebers, David" <David.Ebers@o...> on Fri, 30 Mar 2001 11:30:39 +0200
Try

	int count = (rs.getInt(1);

-----Ursprungliche Nachricht-----
Von: BIPIN MEHTA [mailto:bsm3477@y...]
Gesendet: Freitag, 30. Marz 2001 07:59
An: Pro_JavaServer_Pages
Betreff: [pro_jsp] Resultset problem



 hi all,

  I have the following situation,

  ResultSet rs = stmt.executeQuery("select count(*)
from tableA");

  how do i put the count into a int variable after
this ?

 thanks in advance.

 regards,
 
 Bipin Mehta.
  

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/?.refer=text


  Return to Index