Hi, I'd like to receive the newest element from a table via CreatedDate. I think this should be possible with MAX, can someone tell me how? This is the way I do it so far: Code Snippet Dim result = ( From e In dc.ExpenseStatusHistory _ Where e.ExpenseID.ToString = ID _ And e.Status = "correction" _ Order By e.CreatedDate Descending _ Select e).FirstOrDefault Many thanks, whaleshark
Read More...