I am using masked textbox for entering date but if i give invalid date(dd/mm/yyyy) as (47/18/2011) also it is accepting the date not showing any error give me any solution for it
Problem by using masked type date
Hi
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Jun 18, 2012, 6:02 AM
Check out:
http://msdn.microsoft.com/en-us/library/system.windows.forms.maskedtextbox.validatingtype.aspx
Posted Jun 18, 2012, 5:56 AM
Please refer the below link.
http://www.c-sharpcorner.com/uploadfile/jibinpan/maskedtextboxcontrol11302005051817am/
maskedtextboxcontrol.aspx
http://msdn.microsoft.com/en-us/library/system.windows.forms.maskedtextbox.mask.aspx
http://msdn.microsoft.com/en-us/library/system.windows.forms.maskedtextbox.aspx