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 the source code for display the picture in button click event?
What is deep copy?
What is the feature which is common to all .net languages?
What is the use of system.diagnostics.process class?
what is the advantage of option strict on?
What are the shadow variables?
I Am Developing A project where I can send Message from One Computer to Another Computer With The Help Of LAN.Already I Have developed..It is working Fine With The Details Of ..TO,FROM,REF No,DATE,BODY...Now I Want To Add Attachments part in the same projects...How Can I Send Attachment File & How To Send It..I Am Working in VB.Net 2005 With out Any database. Can Any One Help me ??How To Write Code??Plz Send me a copy to my Mail also...I Dont Need Any Software Available in The Internet...Plz refer me The Code in VB.Net maloy.adhikari@in.com
Which namespace are used for accessing the data?
Explain the difference between vb 6 and vb.net?
What is the difference between import system.data.sqlclient and system.data.oledb?
What are the various open source tool available for VB.NET?
Explain the difference between int and int32?
What are the features present in vb 2005?
What is the importance of a Button control?
Write a program to find all text files in a logical drive and return the count of the number of files?