|
-
Apr 17th, 2003, 01:34 AM
#1
Thread Starter
Registered User
Unconsistence NumericUpDown Control [Resolved]
I use a NumericUpDown control to let user set the "birth date year" value.
the max value of NumericUpDownYear is 2002, while min value is 1880
whenever the value of this control changed, the txtAge textbox will generate the age value:
txtAge.Text = System.DateTime.Today.Year - NumericUpDownYear.Text
but it seems to be not consistant at all. because the age that being generated is not correct n different all the time.
what do i need to do now to make it consistence all the time?
Please help. 10q!
Last edited by albertlse; Aug 21st, 2003 at 08:37 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|