<asp:CompareValidator ID="CompareValidator4" runat="server" ControlToCompare="TxtEveryDayStartDate" ControlToValidate="TxtEveryDayEndDate" CultureInvariantValues="True" ValidationGroup="Date" ErrorMessage="Date should be greater than start date." Operator="GreaterThan" SetFocusOnError="True"></asp:CompareValidator>
If Date.Parse(startdate) > Date.Parse(enddate) Then MsgBox("true") End If
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)