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
Can you please explain the difference between dispose and finalize()?
What are jagged arrarys ?
Explain trace in vb.net?
Explain about the ruby interface generator?
Name a feature which is common to all .net languages?
What are option strict and option explicit?
What is branching logic control in VB.NET?
How do you call a stored procedure in Visual Basic?
Explain the differences between vb.net and c#, related to oops concepts?
Write the role of new keyword?
What is an assembly and its use?
What is jagged array in vb.net?
Explain how to achieve polymorphism in vb.net?
Explain how does the xmlserializer work?
What is redim keyword and its use?