Results 1 to 4 of 4
  1. #1
    vknehra10 is offline Senior Member
    Join Date
    Dec 2016
    Posts
    103
    Rep Power
    0

    Default How to store ResultSet iin a array ?

    Hey,

    How to store ResultSet in a array ...

    i am fetching values from DB and want to print in different Div,
    but it print same values in all Div

    Thanks

  2. #2
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    Location
    New Zealand
    Posts
    4,717
    Rep Power
    16

    Default Re: How to store ResultSet iin a array ?

    [Edit] second thoughts.

  3. #3
    vknehra10 is offline Senior Member
    Join Date
    Dec 2016
    Posts
    103
    Rep Power
    0

    Default Re: How to store ResultSet iin a array ?

    Not Getting you

  4. #4
    SurfMan's Avatar
    SurfMan is offline Godlike
    Join Date
    Nov 2012
    Location
    The Netherlands
    Posts
    1,965
    Rep Power
    7

    Default Re: How to store ResultSet iin a array ?

    We're not getting you either. Show your code. Show what you've tried so far. Show an error message. Explain in as muchg detail as you can what you don't understand.

    There is no such thing as a Arrays.createFromResultSet(ResultSet). You have to write that code yourself.

    This is not a Code Factory.
    "It's not fixed until you stop calling the problem weird and you understand what was wrong." - gimbal2 2013

Similar Threads

  1. Replies: 3
    Last Post: 08-31-2016, 09:19 AM
  2. Resultset to array
    By marjune in forum JDBC
    Replies: 2
    Last Post: 02-24-2012, 01:18 PM
  3. Replies: 3
    Last Post: 08-08-2011, 05:07 PM
  4. ResultSet to array
    By Jojomofoman in forum New To Java
    Replies: 2
    Last Post: 01-08-2011, 09:10 PM
  5. Replies: 1
    Last Post: 03-31-2009, 06:40 AM

Tags for this Thread

Posting Permissions

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