asp教程.net日期控件验证代码
<%@ Page Language=VB Debug=true %> Comparing a Field to a Date Data Type using the CompareValidator Control Please enter a Date: id="txtDate" runat=server /> id="cvCheckDate" controltovalidate="txtDate" operator="DataTypeCheck" type="Date" runat="server" > You must enter a date! id="butOK" text="OK" type="Submit" runat="server" />