I am trying to to use the value from a date time picker to do a comparison and it seems to be being ignored. The code runs fine, no errors, and the OrderBy is working correctly, but the .Where is not applied to the list. I'm thinking that I must be missing something obvious. Here is my code
Parse date from dateTime picker
Hello all,
I am trying to to use the value from a date time picker to do a comparison and it seems to be being ignored. The code runs fine, no errors, and the OrderBy is working correctly, but the .Where is not applied to the list. I'm thinking that I must be missing something obvious. Here is my code
I also tried
and
But still, events with last weeks date are being returned in my list.
Any ideas?
Thanks -Roger
Disregard - I found this to be the winning combination :-)
is working on a reply...