posted 13 years ago
hi
i know that to display data in Jtable is like
but my problem arises when i want to pull the data from the database and used it in the Jtable's constructor i mean
i know that the result of the sql quary "select * from emp" gives me all the data in that table which is holded by Result rs ....
now my question is how i can use this rs which contain my data of table emp so that i will be able to see my data in the JTabel ?
i have done my homework by asking "google" but unfortunately he is not able to help me , so if you experience guyz can show me this thing with a help of a simple example that will be great !