Results 1 to 3 of 3
  1. #1
    amer is offline Member
    Join Date
    Jun 2010
    Posts
    7
    Rep Power
    0

    Default link jcombobox with database

    dear sir
    i want to display a column of a table in oracle database in a jcombobox in netbeans

    can any one help me


    with best regard

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    Quote Originally Posted by amer View Post
    dear sir
    i want to display a column of a table in oracle database in a jcombobox in netbeans

    can any one help me
    The tutorials can, for instance to see how to use combo boxes, please have a look here: How to use Combo boxes
    There are also other similar tutorials on how to connect with database. The tutorials can be found here: Big Index

    Otherwise if you need our help, then you'll likely want to ask a much more specific question telling us exactly what you've tried, what error messages or other problems you're having and what you're stuck on. Your current question is more a general statement of need rather than an answerable question.

    Best of luck.

  3. #3
    amer is offline Member
    Join Date
    Jun 2010
    Posts
    7
    Rep Power
    0

    Default

    i have successfully connected to database in netbeans i can display table in oracle database in a jtable in netbeans
    my problem is that when i use j combobox to display one column of a table in oracle database
    first i right click the jcombobox and choose bind elements then i select the table by importing data to form
    but when i run the desktop application it display a list and each element consist
    applicationname.tablename[the first column= value]
    example

    desktopapplication3.codata[id=765]
    where codata is the table name and id is the first column
    but i want to display value of the third column without the application name or table name

Similar Threads

  1. populate jCombobox with database data
    By joeyxaza in forum JDBC
    Replies: 2
    Last Post: 01-06-2014, 10:09 AM
  2. Link between JComboBox variables
    By msjavalearning in forum New To Java
    Replies: 1
    Last Post: 10-13-2010, 05:15 PM
  3. Jcombobox with mysql database
    By kesariramachandran in forum AWT / Swing
    Replies: 2
    Last Post: 05-18-2010, 09:32 PM
  4. populate jCombobox with database data
    By joeyxaza in forum JDBC
    Replies: 0
    Last Post: 01-19-2009, 04:30 PM
  5. jComboBox and database
    By pravin2008 in forum AWT / Swing
    Replies: 3
    Last Post: 08-25-2008, 04:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •