/ Published in: C#
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var query = from m in db.TeamMembers orderby m.Name Photo = m.Photo ?? "default.jpg", Modified = String.Format("{0:M/d/yyyy}", m.Modified), Created = String.Format("{0:M/d/yyyy}", m.Created) };