scampercat

scampercat

  • NA
  • 189
  • 0

asp.net 2010 validate date

Jul 20 2012 8:04 PM
In a C# 2010 web form application, I would like to know how to setup user server side validators to check the format of a date in mm/dd/yyy format. Basically this would be like a regular expression, custom validator, compare validator. I basically need to validate the mm/dd/yyyy format includes for month, date, year. I also am required to make certain the user enters the date with the '/'. enter.

Can you tell me how to accomplish this goal?

Answers (10)