Protected Page_Load(object sender, System.EventArgs e) { cmpStartDate.ValueToCompare = System.DateTime.Now.ToShortDateString(); } Protected btnValidate_Click(object sender, System.EventArgs e) { if (!Page.IsValid) Response.Write("Valid dates entered"); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)