wood burning stoves 2.0*
The moose likes JDBC and the fly likes Entering data into a DB - very newbie :/ Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Entering data into a DB - very newbie :/" Watch "Entering data into a DB - very newbie :/" New topic
Author

Entering data into a DB - very newbie :/

Jase Si
Greenhorn

Joined: Jun 20, 2004
Posts: 1
Hey everyone,

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 applet 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
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
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
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Welcome to JavaRanch, Jase Si!

For a simle introduction to JDBC (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 http://www.sqlcourse.com

Good luck.

I'm moving this to the JDBC forum...


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Entering data into a DB - very newbie :/
 
Similar Threads
Lock Manager implementation
Convert a Java Program to Web Applet
Applet Displaying a Database
Printing in JSP
non-printable delimiter