I've been trying to follow the answer to @Jordan Palmer's question as I'm trying to do the same thing he was trying to do. I'm not seeing how to connect @Jordan Palmer's query (specifically the var variable) with the Records variable that would be in the LoadData() LINQ query shown in the ViewModel code panel. Would it be this:
Records = getTripInformation = from m in connection.tblTrips
where m.TripDate > DateTime.Today
select new { m.TripID, m.TripName, m.TripDate, m.ClosingDate, m.PricePerAdult, m.PricePerChild, m.Status };
I need some help on how to connect var to Records.
As @framps asked: "Do you have an example which you can provide for this as I'm struggling with the logic?"
Rercordsin your code you have a typo in the wordRecordsby the way.. also what errors are you getting when running the code.. following thequery linkexample from the other stackoverflow posting.. what seems to be the issue with your not understanding ...