Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the difference between .dll extension and .exe extension files?

1037


How do you define a read only property in a class module?

877


Explain about branching logic control in vb.net?

888


Explain the advantage of option strict on?

873


What is difference between import system.data.sqlclient,system.data.oledb?

961


What are the difference between dispose(), close(), exit(), end()? When do we use them?

980


What is the purpose of an Assembly?

1014


Explain about visual basic.net?

1134


Explain the difference between web.config and machine.config and where it will be ?

865


Why should you use delegate?

867


How many classes a dll can contain?

940


Explain how to achieve polymorphism in vb.net?

888


Explain how to send xml file on server using http protocol?

832


Explain about the keyword must inherit?

936


Explain clr?

985