This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 30130
    
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
 
Similar Threads
Accessing One table with multiple Threads and Inserting Values
java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver]COUNT field incorrect
problem in deleting data
connecting to ms access database
in creating project file from existing main files