aspose file tools*
The moose likes JDBC 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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Databases » JDBC
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: 485

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: 131

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

Joined: Aug 22, 2010
Posts: 3451
    
  47

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?!
 
Similar Threads
Very Interesting Question
Check All / UnCheck All
Largest/Greatest of n numbers
Sort the Array in reverse order
Problem with hash map