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
Before in my vb app I would just load the icons from dll. How can I load the icons provided by .net dynamically?
How a base class method is hidden?
What is the advantage of using system.text.stringbuilder over system.string?
What are the difference between dispose(), close(), exit(), end()?
Explain about the keyword must inherit?
Explain option explicit?
Explain internal keyword in .net framework?
What is early binding?
What is the difference between .dll extension and .exe extension files?
What is the strong name in .net assembly?
Explain the components of common language runtime.
Using VB, how can you change the Mouse Pointer?
What is visual basic.net culture?
Explain and brief about rapid application development tool?
How to retrieve images in sql server database through vb.net?