I am a bit confused when comparing StartDate and EndDate in my asp.net app.
EndDate: 10/1/2011
StartDate: 9/30/2011
The if statement below returns true, based on the date values above.
If strEndDate < strStartDate Then
I would think the If statement shoudl return false. The concept is supposed to be that if EndDate is earlier than StartDate, display an error message.
You should be using
DateTime.Compare.