I have created a database using MS SQL named "Company" and there is a table named "Employee".
I need to print the records from the "Employee" table to a JTextArea keeping tabs for each columns in the JTextArea. How can i do it? Please help.
I have created a database using MS SQL named "Company" and there is a table named "Employee".
I need to print the records from the "Employee" table to a JTextArea keeping tabs for each columns in the JTextArea. How can i do it? Please help.
You need to connect to database and run query to get what ever data you need(general tutorial how to access database can be found here). Then format received data in such way so you can insert them in JTable (as per link in my first reply)
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.