3
Answers

Not sorting By Date

Ramco Ramco

Ramco Ramco

1y
453
1

Hi

  I have below code but it is not sorting by Date

List<Session> Result = (from t in context.Sessions
    where  t.GroupID == GroupID 
    orderby t.SessionDate
    select t).ToList();

Thanks

Answers (3)