Insert information into a MySQL database - NetBeans
Hi All
I am new and need some help in getting my java desktop application up and running, sometimes i may use the wrong word/terminology and I apologies in advance anything which you may be vague please ask and i will try to expand.
I want to create a form and when i click submit it transfers the information to a mysql database,
I have a db connection file which i have tested and works in the form i have the following fields
User Name
User ID
First Name
Last Name
Station
Gender
I am using netbeans with the drag drop feature and all of them are jLabels with corresponding jTextFields, i have created a table in the db called newuser and would like to place the information which is entered into the java form into the database
any help would be much appreciated
Thanks
Re: Insert information into a MySQL database - NetBeans
So ... what's the problem?
Re: Insert information into a MySQL database - NetBeans
What action what I need to complete this task among the labels was easy drag and drop. It I don't know how to send the user inputted data to the database
Re: Insert information into a MySQL database - NetBeans
Have a button for saving, and then read the relevant data from the text fields.
Pass that to the database layer.