Results 1 to 12 of 12
Like Tree2Likes
  • 1 Post By Tolls

Thread: I need your help please to display all contained in the database on netbeans

  1. #1
    HMFouad is offline Member
    Join Date
    May 2012
    Location
    Algeria-Tiaret
    Posts
    12
    Rep Power
    0

    Default I need your help please to display all contained in the database on netbeans

    I want to know the method used to display all contained in the database already created on netbeans.

    I want a good detailed answer please and thank you in advance.
    Last edited by DarrylBurke; 05-20-2012 at 04:26 PM. Reason: Removed annoying CENTER formatting

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

    Default Re: I need your help please to display all contained in the database on netbeans

    Seriously though, for good detailed help, please put in the effort and ask a "good detailed" question! Please read How to Ask Smart Questions to see just what good details we need before we can help you.

  3. #3
    HMFouad is offline Member
    Join Date
    May 2012
    Location
    Algeria-Tiaret
    Posts
    12
    Rep Power
    0

    Default Re: I need your help please to display all contained in the database on netbeans

    Thank you brother.

  4. #4
    HMFouad is offline Member
    Join Date
    May 2012
    Location
    Algeria-Tiaret
    Posts
    12
    Rep Power
    0

    Default Re: I need your help please to display all contained in the database on netbeans

    thank you but I guess my question is well posed

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

    Default Re: I need your help please to display all contained in the database on netbeans

    Quote Originally Posted by HMFouad View Post
    thank you but I guess my question is well posed
    Well, let's see how many answers you receive then.

  6. #6
    HMFouad is offline Member
    Join Date
    May 2012
    Location
    Algeria-Tiaret
    Posts
    12
    Rep Power
    0

    Default Re: I need your help please to display all contained in the database on netbeans

    Quote Originally Posted by Fubarable View Post
    Well, let's see how many answers you receive then.
    thank you

    please help me if you can!!!

  7. #7
    DarrylBurke's Avatar
    DarrylBurke is online now Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,416
    Rep Power
    20

    Default Re: I need your help please to display all contained in the database on netbeans

    Can't.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  8. #8
    HMFouad is offline Member
    Join Date
    May 2012
    Location
    Algeria-Tiaret
    Posts
    12
    Rep Power
    0

    Default Re: I need your help please to display all contained in the database on netbeans

    Quote Originally Posted by DarrylBurke View Post
    Can't.

    db
    ????

  9. #9
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,090
    Rep Power
    20

    Default Re: I need your help please to display all contained in the database on netbeans

    Show us what you've done so far, because (as with your other question in this forum) this is a ridiculously open ended question.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  10. #10
    HMFouad is offline Member
    Join Date
    May 2012
    Location
    Algeria-Tiaret
    Posts
    12
    Rep Power
    0

    Default Re: I need your help please to display all contained in the database on netbeans

    the name of my db is "Produits" avec le nom"HMFouad" mot de passe "12345"
    the href to the db is "jdbc:derby://localhost:1527/Produits", i think that i don't create or install a driver
    i have one table his name is produit, it contain "id,Nom,Nom_produit,quantite,prix_min,prix,max "
    i want to display all contained in my table Produits please help me

  11. #11
    wsaryada is offline Senior Member
    Join Date
    Jun 2007
    Location
    Bali, Indonesia
    Posts
    760
    Rep Power
    8

    Default Re: I need your help please to display all contained in the database on netbeans

    Do you mean that you want to know how to query / select the entire data stored in the Produits table?

  12. #12
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,090
    Rep Power
    20

    Default Re: I need your help please to display all contained in the database on netbeans

    So, can you select the data from the database?
    If so, can you put each row into a model representing a Produit?
    If so, can you produce a List<Produit> and return that?
    If so, can you use that List to display (however you are planning on displaying)?

    Where in that lot are you stuck, because we're not going to write this for you.
    Fubarable likes this.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. Cannot get NetBeans GUI to display
    By StevieM in forum NetBeans
    Replies: 3
    Last Post: 01-22-2012, 10:18 PM
  2. Replies: 8
    Last Post: 04-21-2011, 01:54 PM
  3. How to change color of area contained by rectangle
    By thayalan in forum AWT / Swing
    Replies: 2
    Last Post: 06-04-2009, 04:48 AM
  4. loading files contained within app jar file
    By thorne_ in forum New To Java
    Replies: 3
    Last Post: 05-18-2009, 02:26 PM
  5. Problem with display in Netbeans 5.5
    By Albert in forum NetBeans
    Replies: 1
    Last Post: 07-13-2007, 03:33 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
  •