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
Why do we use byref keyword in vb.net?
Write the role of new keyword?
What are the objects in asp.net?
What is sealed class?
What is deep copy?
What are the parts of the visual basic control?
Can you please explain the difference between c# and vb.net?
Explain redim keyword?
What is writeline in vb.net?
What is the significance of delegates?
What is a static variable?
How to view an assembly?
What are all the parts of .net framework?
what's ArrayList in .Net (VB.Net or C#).What's the advantageous using ArrayList.
What is the significance of delegates. Where should they be used? What are the situations where we require them?