Problems sorting by date
- by Nathan
I'm attempting to only display data added to my database 24 hours ago or less. However, for some reason, the code I've written isn't working, and both entries in my database, one from 1 hour ago, one from 2 days ago, show up. Is there something wrong with my equation? Thanks!
public void UpdateValues()
{
double TotalCost = 0;
…