File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes How to retrieve data from database in Netbeans? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Bookmark "How to retrieve data from database in Netbeans?" Watch "How to retrieve data from database in Netbeans?" New topic
Author

How to retrieve data from database in Netbeans?

Javedali Shaikh
Greenhorn

Joined: Sep 13, 2008
Posts: 12

I am developing an application using netbeans but facing problems in writing SQL statements. Though I can open a SQL Editor and run many statements one by one. But one thing I am unsuccess to do is how to associated these SQL statements with the components. I have read the product documentation also, but not found the satisfactory solution. In its help ofcourse the topics related to managing components events and setting events to components is given but of no use. I work according to that also but it is just either associating the events or just managing them. I have connected to the database by means of netbeans itself. Hence, I don't know what connection object of connection class to be used to make use of prepared statements. Can we do it by means of netbeans or I have to write the entire code manually in a tradition way.
Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2187
Will this application have any human users? Will they need NetBeans to use the application?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to retrieve data from database in Netbeans?