I need to call ToShortDateString in a linq query suing lambda expressions:
toRet.Notification = Repositories .portalDb.portal_notifications.OrderByDescen
Try this,
You can also used with below code.
Activity = String.Format("{0} {1}", String.Format("{0:dd-MMM-yyyy}", s.SLIDESHEETDATE), String.Format("{0:HH:mm}", s.ENDDATETIME))