How do you validate Date by using which validation Control?
Answer Posted / cherran
Whereas in ASP.Net we can use RegularExpression Validator to
validate the date value. But in VB.NET we have to use Class
RegEx.
If Regex.IsMatch(txtDate,
"(0[1-9]|[12][0-9]|3[01])-(0[1-9]|1[012])-((19|20)\d\d)") Then
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is a static class?
Is it necessary to have SQL server installed in your computer in order to create a service based database in vb.net?
What is the differnce between managed code and unmanaged code?
Can you please explain the difference between vb and vb.net?
What are all the differences between dispose and finalize()?
What is the significance of delegates. Where should they be used? What are the situations where we require them?
Explain the difference between an xml "fragment" and an xml "document."
What is sorting in vb?
What is difference between import system.data.sqlclient,system.data.oledb?
Explain enumerator?
my project run very wel in my sytem yhen i am deploying my project on client machine ,after deployment i run my project then it show " can no find server name " what i do .
how to deploy vb.net with key and evaluation time? any one can help me?
Define cls?
Why do we use ansi keyword?
Which is the base class for all the classes in .net framework?