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 convert.tostring and i.tostring method?
How to retrieve images in sql server database through vb.net?
What are different types of jit ?
What are the two main parts of .net?
What is non_deterministic finalization?
Explain the difference between c# and vb.net?
What is strong typing and weak typing?
Name and explain some of the exclusive features which are present in vb?
What is the difference between custom control and user control?
Name the class which allows an element to be accessed using unique key?
What is the top .net class that everything is derived from?
What is writeline in vb.net?
How do you define a read only property in a class module?
Explain about Visual basic.NET culture?
Explain about the ruby interface generator?