| Author |
Problem with Date and Drop down box
|
visu Nekk
Ranch Hand
Joined: Sep 06, 2005
Posts: 122
|
|
Hai, I have a problem when retrieving data from the database.When i send data to the database,i concatenate three fields of date and store it as a date format in database.Similary i do the same with the data in two drop down boxes.But when i retieve the data i get it as a single unit.Can anyone help me out with how to get it back into three text fields for data and 2 drop down lists when i retrieve the data. Thanx in advance.
|
 |
Maximilian Xavier Stocker
Ranch Hand
Joined: Sep 20, 2005
Posts: 381
|
|
|
Look at java.text.SimpleDateFormat
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26201
|
|
Visu, You can also use Calendar.get(Calendar.YEAR) and the like.
|
[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
|
 |
 |
|
|
subject: Problem with Date and Drop down box
|
|
|