Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes JDBC and Relational Databases and the fly likes Resultset return nothing?! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Resultset return nothing?!" Watch "Resultset return nothing?!" New topic
Author

Resultset return nothing?!

Be Khuong
Greenhorn

Joined: Mar 31, 2012
Posts: 9

Hello, everyone!
I have a table that include: ID, Name, Age... so i want resultset return all of data from ID colum into array that i can get them by: str = arr[0], str_2 = arr[1]... But the thing i got is the number of all row, so please help me.


Java SE, Java EE, NetBeans IDE, Eclipse IDE
Nam Ha Minh
Ranch Hand

Joined: Oct 31, 2011
Posts: 498

Be Khuong wrote:Hello, everyone!
I have a table that include: ID, Name, Age... so i want resultset return all of data from ID colum into array that i can get them by: str = arr[0], str_2 = arr[1]... But the thing i got is the number of all row, so please help me.


Please post your code here! Can't help for such limited information.


PM Me If You Want to get Urgent Help on Java Programming
rohit chavan
Ranch Hand

Joined: Oct 08, 2010
Posts: 132

Post what exactly you are doing, at least the query , so that we can help you.
Martin Vajsar
Sheriff

Joined: Aug 22, 2010
Posts: 3675
    
  61

Welcome to the Ranch, Be!
Be Khuong
Greenhorn

Joined: Mar 31, 2012
Posts: 9

Thank, i now solve problem!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Resultset return nothing?!