We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,414 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion   Closed to New Replies

How can i add my database tables as items in my jcombo box

Please can someone show me how to retrieve database tables and add them as items to my JComboBox?.i have this app that i'm creating and it has a database which contains tables with their names and i want to add them as items into my JComboBox to aid file insertion so that when i want to insert a file into any desired table i would simply pick or choose it from the combobox.i have tried everything i can but to no avail.

Help me somebody!!!

3
Contributors
2
Replies
3 Hours
Discussion Span
9 Months Ago
Last Updated
3
Views
Andyjava
Newbie Poster
17 posts since Aug 2012
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

It depends on your database engine. What DBMS are you using?

BitBlt
Practically a Posting Shark
894 posts since Feb 2011
Reputation Points: 482
Solved Threads: 148
Skill Endorsements: 14

@Andyjava: Please do not create multiple threads for the same question. You already have a thread for this here: http://www.daniweb.com/software-development/java/threads/430893/adding-database-tables-as-items-into-a-jcombobox

Please direct further discussion there. Closing this one.

Ezzaral
null
Moderator
16,111 posts since May 2007
Reputation Points: 3,292
Solved Threads: 873
Skill Endorsements: 28
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.0615 seconds using 2.69MB