|
| NumberFormateException |
 |
Wed, 12 Oct 2005 13:51:16 +053 |
Hai folks,
Actually,in my application Im getting the value of DOB from the user using
a DateField class called dob and storing it in DB(RMS).Its working fine.
Now i want to display the same DOB value retrieved from the DB to another
DateField class called dob1.
I tried with the following code.But its throwing NumberFormateException.
Assume that ,The 'dob' value retrived frm the DB is now assigned to some
character array called arr[].that is,
dob=arr[j];
dob1.setDate(new Date(Integer.parseInt(arr[j])));
How to modify this code to resolve the exception.
Regards
yafy
|
| Post Reply
|
|
|
|
|
|
|
|
|
|