Allowing only past date and today's date in VB.net
Posted
by Solution
on Stack Overflow
See other posts from Stack Overflow
or by Solution
Published on 2009-10-26T10:38:59Z
Indexed on
2010/05/08
16:08 UTC
Read the original article
Hit count: 423
Hi,
I am using VB.net as well as Jquery Datepicker for getting dates.
In my VB.net code
<tr>
<td>
DateOfReceiving:
</td>
<td colspan="3">
<asp:TextBox ID="DateOfReceivingTextBox" runat="server" CssClass="pastdatepicker" Text="DateOfReceiving" />
</td>
</tr>
I want to allow enter user only todays date or past date with format dd/mm/yyyy. I want vb.net custom validation for that.
Please help to write vb.net regular expression.
Thanks!
© Stack Overflow or respective owner