if (startdate < issuedate) { Label23.Text = "Start Date must be greater than the Issue date"; return; }
if(DateTime.Compare(Batchissuedate, Batchstartdate)>0) { Label23.Text = "Start Date must be greater than the Issue date"; }
Label23.Text = "Start Date must be greater than the Issue date";
if (startdate.ToString() < issuedate.ToString()) { Label23.Text = "Start Date must be greater than the Issue date"; return; }
DateTime dt = Convert.ToDateTime("09/24/2013"); if (DateTime.Compare(DateTime.Now,dt)>0) { Console.WriteLine("small"); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)