Testing Code Snippet Formatting
Since my first foray into code snippets inside of a blog post didn't go so well, here's another attempt to see how a different plugin works.
Using the Paste from Visual Studio plugin for Windows LiveWriter:
private void LoadGrid()
{
//Get data from the DAL
List<Person> people = (new LinqObjectModel.LinqDAL()).GetPeopleByFirstName("Mark");
//Sort it using LINQ
var sortedPeople = from person in people
orderby person.LastName
select person;
bindingSource1.DataSource = sortedPeople;
}