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 about branching logic control in vb.net?
What is difference between import system.data.sqlclient,system.data.oledb?
How can we store decimal data in .net?
Is vb.net a programming language?
Explain the difference between namespace and assembly?
Explain the difference between system.string and system.stringbuilder classes?
What is the significance of delegates?
Tell me which namespace are used for accessing the data?
What is the main purpose of garbage collector?
What do you mean by Redim in VB.NET?
Explain public assembly?
What are the advantages of migrating to vb.net?
Observations between vb.net and vc#.net?
Which namespace are used for accessing the data?
Explain the use of console application?