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 the 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:
Joined: Oct 08, 2006
Those are just compilation errors. Your code syntax/logic is plain wrong. Please use 'Java in general (beginners)' for compilation errors.