E
EmJayEm
Does anyone have the vb.net code which uses a customvalidator control to
validate a date in the format dd/mm/yyyy
Thanks,
EmJ.
validate a date in the format dd/mm/yyyy
Thanks,
EmJ.
Peter Blum said:There are several solutions:
1. You don't need to use a CustomValidator. The CompareValidator does it.
Set its Operator to DataTypeCheck and Type=Date. Make sure the current
thread has a CultureInfo object that reflects your desired
ShortDatePattern. See my comments on this thread:
http://www.asp.net/Forums/ShowPost.aspx?tabindex=1&PostID=785630
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.