if (DateTime.Compare(DateTime.Parse(fromdate.ToString()), DateTime.Parse(todate.ToString())) == 1) { ScriptManager.RegisterStartupScript(this, this.GetType(), "alertmessage", "javascript:alert('To Date Should Be Grater Than The From Date')", true); return; }
jasmin patel
Thanks & Regards Hari
Login to post response