Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Validate a date
Message
From
15/07/2006 10:09:55
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
14/07/2006 15:34:12
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Environment versions
Environment:
ASP.NET
Miscellaneous
Thread ID:
01136539
Message ID:
01136669
Views:
8
>I have a ASP.Net webform that contains a textbox where a user should enter a date in mm/dd/yy format.
>
>How can I validate that the user enter a good date?
>
>Thanks,
>
>Jerry

Jerry,
Forcing the user enter a date in a specific format is not a good idea IMHO. You could try Parse to validate or use a CompareValidator for type checking.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform