Hii. . all,
i'm new here and i'm a newbie.
i am working on my first java project and i got a problem.
i just want to ask ,how to display data from relate table in database with resultset??
thanks for any help given. .
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
Hii. . all,
i'm new here and i'm a newbie.
i am working on my first java project and i got a problem.
i just want to ask ,how to display data from relate table in database with resultset??
thanks for any help given. .
I don't really understand the question...how do you want to display, via a GUI, command line? A JTable would be a typical user interface component to display this sort of tabular information:
How to Use Tables (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Swing Components)
And you could have the data the TableModel uses in all sorts of forms - for example a CachedRowSet, map the data to objects which reside in a List, etc...Give it a try with one of these methods and post some code and a more defined question if you get stuck