Ramco Ramco

Ramco Ramco

  • 441
  • 3.4k
  • 522.6k

Order by Name

Apr 7 2023 11:08 AM

Hi

  In below code i want to order by name

var Result = (from t2 in context.View_SessionDeliveryCalendarDetails_Students
                                  select new { t2.StudentID, Name = t2.Name + " - " + t2.MobileNo }).Distinct().ToList();

Thanks


Answers (7)