|
-
Feb 18th, 2005, 11:17 AM
#1
Thread Starter
Member
Validating Dates Based On Selections
Hi, i'm doing a web form which has a section for users to select the dates.
I've got a drop down list for day, month and year respectively. How do i go about validating the dates?
The VALUES for day are 1,2,3,4,5 and so on.
The VALUES for month are 1,2,3,4,5 and so on.
The VALUES for year is 2005.
The "VALUES" stated above refers to the returned value when i do a dropdownlist.SelectedValue()
I've tried using the IsDate function but doesn't get the desired results. I would like to check if the date is valid, if it is not valid, i'll inform the user by informing the user using a label.
Last edited by Lex@SG; Feb 20th, 2005 at 12:07 PM.
Reason: Ans Found!
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
|