File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC 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
Reply locked New topic
Author

need a sample code JDBC ..preparedstatement

mayank yadav
Greenhorn

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
MS ACCESS....
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30123
    
150

Mayank,
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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
jQuery in Action, 2nd edition
 
subject: need a sample code JDBC ..preparedstatement
 
Similar Threads
First Time JDBC
jQuery and JSP
SQLException. Generel Error
Failed to insert a record into MSAcess
Failed to insert a record into MSAcess