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
Explain what observations between vb.net and vc#.net?
What are the two main parts of .net?
What do you understand by vb.net?
What is multiple form in vb?
what is common language specification?
What is the importance of a Button control?
What are the advantages of vb.net and c#?
Explain the difference between namespace and assembly?
how many server control present in .net
Explain about the keyword must inherit?
What is enumerator?
What are the advantages of migrating to vb.net?
Explain cts?
Explain convert.tostring and i.tostring method?
What is the difference between c# and vb.net?