Welcome to Bourgan Systems Sign in | Join | Help
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;

        }
Posted: Tuesday, March 11, 2008 3:35 PM by MBourland

Comments

Tim G. Thomas said:

Looks pretty good in IE, but the line breaks are stripped when the item is retrieved by Outlook 2007's RSS engine. :P

# March 11, 2008 10:27 AM

Sean Biefeld said:

C'mon Microsoft get your products to reproduce the same results ...

# March 11, 2008 10:45 PM

Sean Biefeld said:

You may want to try the Live Writer insert code plugin.

http://www.codeplex.com/insertcode

# March 11, 2008 10:49 PM

Derick Bailey said:

I use that insertcode plugin. it rocks, and looks great in Outlook's RSS reader.

you might have problems with CommunityServer, though. in my old blog, i couldn't post embedded CSS tags because CommunityServer would strip the tags out... there's a way to change that in the config files, but i never figured out how...

# March 13, 2008 6:26 AM
New Comments to this post are disabled