Click here to Skip to main content
15,884,425 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello, friends.

I have a table in Oracle 10g database named students contains these columns
ID INT PRIMARY KEY,
Name VARCHAR2(50),
Address VARCHAR2(50)

I need to display the names of the students in JComboBox and at the same time I need to get the ID column value for the selected students same as .Net ComboBox with DisplayMember and ValueMember Properies.

How can I Do it?
Posted
Comments
Suvendu Shekhar Giri 1-Nov-15 2:04am    
What you have tried so far?

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900