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
What are the shadow variables?
Explain the difference between c# and vb.net?
What are the features of c# which are not present in vb.net?
source code for how to login a vb.net application ?
Name the two main parts of .net?
what is difference between web.config and machine.config and where it will be ?
What is strong typing and weak typing?
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.
how many server control present in .net
Explain about the keyword must inherit?
How to send xml file on server using http protocol?
What is the use of internal keyword?
Why should you use delegate?
what is commom language runtime?
Explain the advantage of option strict on?