A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
Entering data into a DB - very newbie :/
Joined: Jun 20, 2004
Jun 20, 2004 00:09:00
I'm a big newbie to Java, and need some help please
I'm making a simple program that can enter data from fields into relating fields in a database.
I was just wondering if anyone could give me some example code to get me started.
I just have a simple Java
at the moment with the fields etc on it, but I don't know how to get the data that is entered with the applet, into a database's table.
I know how to set the UserDSN etc to identify to database, I just don't know the code to get the data from the fields into the database.
Could someone please help me out ?
Thanks a bunch guys
Joined: Jan 29, 2003
Jun 20, 2004 13:12:00
There are quite a few steps. Google for "jdbc tutorial" and you'll find some good step by step instructions.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Joined: Dec 10, 2001
Jun 21, 2004 07:08:00
Welcome to JavaRanch, Jase Si!
For a simle introduction to
(the name of the subject you're likely trying to learn), take a look at the JDBC assignments of
the JavaRanch Cattle Drive
Also, for starting to learn figuring out statements fot out database operations, I recommend taking a look at
I'm moving this to the JDBC forum...
How To Ask Good Questions
JavaRanch FAQ Wiki
I agree. Here's the link:
subject: Entering data into a DB - very newbie :/
Applet Displaying a Database
Convert a Java Program to Web Applet
Printing in JSP
Lock Manager implementation
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014