Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
    Bookmark Topic Watch Topic
  • New Topic

need a sample code JDBC ..preparedstatement

 
mayank yadav
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
author & internet detective
Marshal
Posts: 34097
337
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic