File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes need a sample code JDBC ..preparedstatement Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Reply locked New topic

need a sample code JDBC ..preparedstatement

mayank yadav

Joined: Sep 25, 2005
Posts: 11
i have just started with jdbc
and tried some basic programs
i have tried used statement and preparedstatement
to connect to MS ACCESS ..
connection is is established in both the cases
i can retrieve the values form the database but
problem is entring values
can you please give a sample code of a program
of inserting and viewing values from a database in
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33113

Welcome to JavaRanch!

JavaRanch isn't the type of place where people write code for you. Once you have something, we are more than happy to help of corse. And we can always point you at resources. Anyway, based on your other thread, it looks like you've got something. So I'll close this and you can continue discussion there.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: need a sample code JDBC ..preparedstatement
It's not a secret anymore!