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 namespace?
Described strong typing and weak typing?
how to deploy vb.net with key and evaluation time? any one can help me?
I Am Developing A project where I can send Message from One Computer to Another Computer With The Help Of LAN.Already I Have developed..It is working Fine With The Details Of ..TO,FROM,REF No,DATE,BODY...Now I Want To Add Attachments part in the same projects...How Can I Send Attachment File & How To Send It..I Am Working in VB.Net 2005 With out Any database. Can Any One Help me ??How To Write Code??Plz Send me a copy to my Mail also...I Dont Need Any Software Available in The Internet...Plz refer me The Code in VB.Net maloy.adhikari@in.com
What are the advantages of VB.NET?
How to connect crystal report in vb.net ?
Can we use Vb.Net and C# language simultaneously in one .Net application?
Explain an assembly?
What do you understand by vb.net?
Explain the advantages of vb.net?
What do you mean by serialization?
What is econo-jit?
How to create a constant in vb.net?
What is the differnce between managed code and unmanaged code?
What is the difference between manifest and metadata?