This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Unable to get data from GUI to the database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

Unable to get data from GUI to the database

John Pisci
Ranch Hand

Joined: Dec 19, 2008
Posts: 44
Hi Folks, hoping you can help me as I am very confused at the moment as I have read a number of different articles and tried quite a few diiferent methods, but have not got anywhere!

I'm building a simple GUI that sits on a MySQL database to track my wedding guest list...i.e whether they've replied, dietary requirements, whether they are coming all day or to just the evening etc...
Anyway, I've built the majority of the GUI and the database, and got them connected. What I can't do however, is get records inserted into the table (and presumably update and delete records too as I haven't tried doing them yet!) . This is not because of a lack of SQL knowledge, I just don't know how to get the data from the GUI to the database. I've tried a number of different ways (as can be seen in the code)but I don't seems to be getting any nearer.

Below is my code and then the errors I've been getting.

Thanks in advance.



Now the errors:
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61103
    
  66

Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please read this for more information.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to get data from GUI to the database