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
Explain managed code?
What is option strict?
What is difference between import system.data.sqlclient,system.data.oledb?
what is intermediate language?
What are the different types of a stream?
What are the advantages of vb.net and c#?
What is the significance of delegates. Where should they be used?
i have two class that contain's two methods as same name in derived class i have to call these two methods what will happen at run time ?
Define serialization in .net?
Name some of the keywords used in vb.net?
What is a stream in vb.net?
Explain the advantages of vb.net?
What is econo-jit?
How can we remove handlers at run time?
Explain the advantage of option strict on?