I have stored time in an access database with a format of MediumTime, which displays in access as I want it, such as 7:30 AM. However, when I retrieve the time in my c# program, it also has a date (which is the wrong date anyway since I didn't enter one in access).
queryString = " SELECT Time FROM database";
I can change the time to a string and parse just the time, but then when I sort the time (as a string) it doesn't sort in the correct order. I've also tried using DateTime.ParseExact, but can't seem to get that to work.
Thanks