Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Software Craftsman
this week in the
JDBC and Relational Databases
updating records in database
Joined: Jun 22, 2012
Jul 08, 2012 03:28:02
i have a small doubt in one of my application, i am working on an online examination system.
i want to know how to update record in database.
the database has four columns (question_id,subcode,correctanswer,useranswer)
and the exact problem in updating is:
suppose i have the question id alreay in the database and corresponding user option with it.
but i the option for the qid is changed then it should also reflect in the database.
thanks in advance.
author & internet detective
Joined: May 26, 2003
Jul 08, 2012 16:02:20
First you identify which fields uniquely identify the option. Then you write a SQL statement to update the value. Then you add
What do you have so far? What are you stuck on>
OCA 8 book
How To Ask Questions The Smart Way
Blogging on Certs:
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
Have you tried LearnNowOnline?
subject: updating records in database
refresh Row not working
Why Post for update and Get Not for update ?
Throws EOFException during insertion in db file, and reading back data
A Nagging Doubt About My Search Functionality
Fetching values from database and populating it in drop down and text fields
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015