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 is stack used for in vb. Net?
What is meant by jagged arrays?
Explain the use of new keyword?
Explain about delegate?
How do you define a read only property in a class module?
What is the main use of a namespace?
Explain about jagged arrarys ?
How to store images in sql server database through vb.net?
Explain the difference between vb 6 and vb.net?
Explain the use of console application?
What is the difference between convert.tostring and i.tostring method?
What is strong typing and weak typing?
What’s the difference between private and shared assembly?
What is the exact defination of object?
What are different types of jit ?