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 problem in updating data Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "problem in updating data" Watch "problem in updating data" New topic
Author

problem in updating data

harsimran kochar
Greenhorn

Joined: Sep 09, 2011
Posts: 14
i have a program that has a database in access and i want to update data but when i click on update button on my frame nothing happens no error no exception and no work.
here is my code


and code of mehod filltable is

Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30537
    
150

When you say nothing happens, you mean executeUpdate() returns 0? If so, does the account id exist in the database?


[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
harsimran kochar
Greenhorn

Joined: Sep 09, 2011
Posts: 14
even it doesnt give 0 as output
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem in updating data