I've 2 calendar controls on my web form - i need to check if Calender1 date selected is greater than Calender 2 date selected (and then display an error message)
> Hi All > [quoted text clipped - 4 lines] > TIA > iain
hi, if(Calendar1.SelectedDate.CompareTo(Calendar2.SelectedDate)>0) { Response.Write("error"); } detains of datatime compare see this http://msdn2.microsoft.com/en-us/library/system.datetime.compare.aspx
Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...