Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 date range validation

Author  Topic 

susan_151615
Yak Posting Veteran

99 Posts

Posted - 2008-10-17 : 04:01:25
hi the u ser have to enter the date only in mm/dd/yyyy format for that i have written the validation control like this
its not hellping me
my coding is in vb.net can anyone help me in sorting this out

<asp:regularexpressionvalidator id="regExpDate" runat="server" Display="Dynamic" EnableClientScript="False" ControlToValidate="txtSelect"
ErrorMessage="It is not a valid date.Format is MMDDYY" ValidationExpression="^\d{2}[\/-]\d{2}[\/-]\d{2,4}$"></asp:regularexpressionvalidator></TD>

susan

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2008-10-17 : 05:36:15
Is there not the ISDATE() function in asp?

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

susan_151615
Yak Posting Veteran

99 Posts

Posted - 2008-10-20 : 03:06:15
no i want using validation controls

susan
Go to Top of Page

afrika
Master Smack Fu Yak Hacker

2706 Posts

Posted - 2008-10-20 : 03:24:50
this is a .net question.

duplicate
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=112756

Go to Top of Page
   

- Advertisement -