Display data from SQL database into jtable in java




Fetch data from SQL Server database and display into jtable in java using ArrayList | populate data from database into jtable Channel Subscription : https://goo.gl/FZrbXg Affilate: http://amzn.to…

Original source


33 responses to “Display data from SQL database into jtable in java”

  1. While running the code a pop up message is shown "Result set has no current row" when i click ok then no data is displayed in JTable … Code has no errors and data is also getting stored in database but not getting displayed in JTable… Please help!

  2. Indra, I'm having issues the way it's displaying the data in the jTable, it's not ordered correctly, the first 4 rows are empty (All the data are displayed below it), why? It's not the same in my Sql server database, they are ordered correctly.
    I remember adding and deleting records, is that the problem?

  3. hello, indra.
    i have a problem with after while user=new user(rs.getInt("id") i finished these but showing error "no suitable method found for getstring"? could u help me pleass?

  4. Hi indra,
    For un-fill in data in the "JTextField" is using
    ~
    boolean function with (name_vri.getText().isEmpty()
    ~
    may i know if untick and unchoosing the "JRadioButton", "JCheckBox" and "JComboBox" are what coding?
    please.

  5. Hi Indra, can u show us some way to view the data?

    1) a user may choose the keywords from a "text field".
    example when user key in keywords with "thur" in the "text field",
    all the data name with "thur" will show out such as Arthur Tan, Lexthur, Exthur and etc.

    2) choosing to view name that ages with more 21 years old.

    3) then a user may view the data by clicking it become ascending or descending.

  6. great video..
    help me please.
    I'm Ubuntu user but i want work on SQL database.
    problem is I can't understand which software I should use ?
    #1 ( oracle sql developer)
    or
    #2 (oracle sql database 11g)
    .
    {Note: I have installed Java8}

Leave a Reply