Like Us
Plus One
Follow Us
Search

This afternoon I was working on an custom extension for SharePoint and I needed to perform some data manipulations based on range. I wanted to share some of these since I didn’t find them the most obvious. In my case I had an object with a property called SortDate. Here are the scenarios of date manipulation: 1. Display objects from List where date is a date in future, in other words today or further Solution in Linq: listOfObjects.Where(s => s.SortDate >= DateTime.Now).OrderBy(s => s.Sort…
View Original Article

Recent Articles from sharemuch.com