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 / kamalakannan.a

<asp:regularexpressionvalidator id="regExpDate"
runat="server"

ValidationExpression="^\d{2}[\/-]\d{2}[\/-]\d{2,4}$"

ErrorMessage="It is not a valid date"
ControlToValidate="txtpatientvisitdate"
EnableClientScript="False"
Display="Dynamic"></asp:regularexpressionvalidator>

Kamal..

Is This Answer Correct ?    12 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the shadow variables?

994


Explain the difference between c# and vb.net?

977


What are the features of c# which are not present in vb.net?

1058


source code for how to login a vb.net application ?

982


Name the two main parts of .net?

887


what is difference between web.config and machine.config and where it will be ?

886


What is strong typing and weak typing?

957


Write a program that would find the nth term of a geometric progression, given the value of first term and common ratio. Any inbuilt function that the language provides for calculating exponent should not be used.

3486


how many server control present in .net

2700


Explain about the keyword must inherit?

936


How to send xml file on server using http protocol?

938


What is the use of internal keyword?

934


Why should you use delegate?

868


what is commom language runtime?

914


Explain the advantage of option strict on?

875