<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Of Ones and Zeros &#187; Programming</title>
	<atom:link href="http://www.ofonesandzeros.com/category/technology/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ofonesandzeros.com</link>
	<description>a discussion of technology and software development</description>
	<lastBuildDate>Thu, 10 Nov 2011 21:19:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Couple &#8220;Gotchas&#8221; with Console Applications and SharePoint 2010</title>
		<link>http://www.ofonesandzeros.com/2011/07/12/couple-gotchas-with-console-applications-and-sharepoint-2010/</link>
		<comments>http://www.ofonesandzeros.com/2011/07/12/couple-gotchas-with-console-applications-and-sharepoint-2010/#comments</comments>
		<pubDate>Wed, 13 Jul 2011 01:32:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://www.ofonesandzeros.com/?p=219</guid>
		<description><![CDATA[Wrote a console application today that synchronizes a SQL database with task information from a SharePoint farm as part of a task aggregation solution for a client. Came across two small &#8220;issues&#8221; with Visual Studio 2010/SharePoint 2010 and console applications. I am primarily writing this to remind myself later, but perhaps it will help someone [...]<div><a class="addthis_button" href="//addthis.com/bookmark.php?v=250" addthis:url='http://www.ofonesandzeros.com/2011/07/12/couple-gotchas-with-console-applications-and-sharepoint-2010/' addthis:title='Couple &#8220;Gotchas&#8221; with Console Applications and SharePoint 2010 '><img src="//cache.addthis.com/cachefly/static/btn/v2/lg-share-en.gif?9d7bd4" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a></div>]]></description>
			<content:encoded><![CDATA[<p>Wrote a console application today that synchronizes a SQL database with task information from a SharePoint farm as part of a task aggregation solution for a client.  Came across two small &#8220;issues&#8221; with Visual Studio 2010/SharePoint 2010 and console applications.  I am primarily writing this to remind myself later, but perhaps it will help someone else as well.  </p>
<p>First &#8220;gotcha&#8221;:  Make sure you set the target .NET Framework to 3.5.  By default Visual Studio 2010 is going to select 4.0 and it will then do a bunch of complaining about not finding Microsoft.SharePoint.dll.  Yes, the compiler will give a pretty detailed error which may or may not reference the fact that you need to target 3.5, but it had me scratching my head for awhile so I figure its worth capturing.</p>
<p>Second &#8220;gotcha&#8221;:  You need to target x64 platform.  I was getting all kinds of crazy behavior when targeting x86.  When I would try to create SPSite objects I would get &#8220;FileNotFound&#8221;.  If I would try to use SPWebService.Locate I would get permissions issues.  Switch the platform to x64 and everything started working like magic!  </p>
<p>That&#8217;s it, hope this saves someone some time (preferably me on a later project <img src="http://dfcv747gi313t.cloudfront.net/wp-includes/images/smilies/icon_wink.gif?9d7bd4" alt=';-)' class='wp-smiley' />  ).</p>
<div><a class="addthis_button" href="//addthis.com/bookmark.php?v=250" addthis:url='http://www.ofonesandzeros.com/2011/07/12/couple-gotchas-with-console-applications-and-sharepoint-2010/' addthis:title='Couple &#8220;Gotchas&#8221; with Console Applications and SharePoint 2010 '><img src="//cache.addthis.com/cachefly/static/btn/v2/lg-share-en.gif?9d7bd4" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.ofonesandzeros.com/2011/07/12/couple-gotchas-with-console-applications-and-sharepoint-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Programmatically Changing the Show and Hide Ribbon Navigation Setting</title>
		<link>http://www.ofonesandzeros.com/2011/06/15/changing-the-show-enabled/</link>
		<comments>http://www.ofonesandzeros.com/2011/06/15/changing-the-show-enabled/#comments</comments>
		<pubDate>Thu, 16 Jun 2011 02:19:45 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://www.ofonesandzeros.com/?p=215</guid>
		<description><![CDATA[Much like everything I blog about, I had a requirement from a customer to programmatically set the &#8220;Show and Hide Ribbon&#8221; setting that is seen within the Navigation configuration page off of Site Settings (a.k.a. the _layouts/AreaNavigationSettings.aspx page). I looked all through the SPWeb.Navigation options and the PublishingWeb.Navigation options and couldn&#8217;t find it. Then I [...]<div><a class="addthis_button" href="//addthis.com/bookmark.php?v=250" addthis:url='http://www.ofonesandzeros.com/2011/06/15/changing-the-show-enabled/' addthis:title='Programmatically Changing the Show and Hide Ribbon Navigation Setting '><img src="//cache.addthis.com/cachefly/static/btn/v2/lg-share-en.gif?9d7bd4" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a></div>]]></description>
			<content:encoded><![CDATA[<p>Much like everything I blog about, I had a requirement from a customer to programmatically set the &#8220;Show and Hide Ribbon&#8221; setting that is seen within the Navigation configuration page off of Site Settings (a.k.a. the _layouts/AreaNavigationSettings.aspx page).  I looked all through the SPWeb.Navigation options and the PublishingWeb.Navigation options and couldn&#8217;t find it.  Then I remembered the oldest trick in the book, decompiling SharePoint!  I brought up the Microsoft.SharePoint.Publishing.dll in <a href="http://www.telerik.com/products/decompiling.aspx">Telerik JustDecompile</a> and found the codebehind implementation for the page.  Once there it was easy to figure out how to make the change.  Fast-forward, here it is:</p>
<pre class="brush: c#">
SPWeb web = null; // works better if you actually set this to a valid instance
// so this property, the __DisplayShowHideRibbonActionId, doesn&#039;t exist unless it&#039;s set to No!
// so in this instance we are setting it to No, but if you want to set it to Yes you just
// want to clear the value for the property.  make it string.Empty, or just delete the
// property entirely.
web.AllProperties[&quot;__DisplayShowHideRibbonActionId&quot;] = &quot;False&quot;;
// Update your web, do a jig.
web.Update();
</pre>
<div><a class="addthis_button" href="//addthis.com/bookmark.php?v=250" addthis:url='http://www.ofonesandzeros.com/2011/06/15/changing-the-show-enabled/' addthis:title='Programmatically Changing the Show and Hide Ribbon Navigation Setting '><img src="//cache.addthis.com/cachefly/static/btn/v2/lg-share-en.gif?9d7bd4" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.ofonesandzeros.com/2011/06/15/changing-the-show-enabled/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Programmatically Add ListViewWebPart with Customized View</title>
		<link>http://www.ofonesandzeros.com/2011/06/15/programmatically-add-listviewwebpart-with-customized-view/</link>
		<comments>http://www.ofonesandzeros.com/2011/06/15/programmatically-add-listviewwebpart-with-customized-view/#comments</comments>
		<pubDate>Thu, 16 Jun 2011 02:08:35 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://www.ofonesandzeros.com/?p=205</guid>
		<description><![CDATA[There are several approaches to adding a ListViewWebPart to a page floating around the Interwebs, and I do believe over the course of the past week I have tried every one of them!  What I intend to do here is to cut to the chase and present the method that worked reliably for my purposes. [...]<div><a class="addthis_button" href="//addthis.com/bookmark.php?v=250" addthis:url='http://www.ofonesandzeros.com/2011/06/15/programmatically-add-listviewwebpart-with-customized-view/' addthis:title='Programmatically Add ListViewWebPart with Customized View '><img src="//cache.addthis.com/cachefly/static/btn/v2/lg-share-en.gif?9d7bd4" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a></div>]]></description>
			<content:encoded><![CDATA[<p>There are several approaches to adding a ListViewWebPart to a page floating around the Interwebs, and I do believe over the course of the past week I have tried every one of them!  What I intend to do here is to cut to the chase and present the method that worked reliably for my purposes.</p>
<h3>Scenario</h3>
<p>As the title suggests, the scenario is that we are adding a ListViewWebPart to a page, utilizing one of the current list views as a &#8220;template&#8221;, but making some changes for the purposes of this web part.</p>
<h3>Solution</h3>
<p>I recommend hitting the &#8220;view source&#8221; button on the syntax highlighter, I really need to switch to a wider blog template <img src="http://dfcv747gi313t.cloudfront.net/wp-includes/images/smilies/icon_sad.gif?9d7bd4" alt=':-(' class='wp-smiley' /> .  In any event, here is the solution that I employed, I added numerous comments to describe why things were being done.  Hopefully it saves someone some time.</p>
<pre class="brush: c#">
            SPLimitedWebPartManager limitedWebPartManager = null;
            ListViewWebPart wp = null;

            try
            {
                // assume that you have a limitedWebPartManager variable containing an
                // instance of a SPLimitedWebPartManager class.  

                // also assume that you have a list variable containing a reference to the
                // SPList that you are pointing this ListViewWebPart at.

                // create an instance of the ListViewWebPart
                wp = new ListViewWebPart();
                // convert the list GUID to a string, must include braces (ToString(&quot;B&quot;)) and be in uppers (ToUpper())
                wp.ListName = list.ID.ToString(&quot;B&quot;).ToUpper();
                // optionally set the title of the web part
                wp.Title = &quot;I Love List Views&quot;;

                // add the web part to the limited web part manager.  when you do this, a &quot;hidden&quot; view will be created
                // on the list referenced by the list variable.  we will later get a reference to this hidden view and bend it
                // to our will.
                limitedWebPartManager.AddWebPart(wp, &quot;whatever web part zone you want to add it to&quot;, 1); // the 1 is the index within the zone
                // you need to update the list because a view was just added to it
                list.Update();

                // now that the web part has been added we need to get a fresh reference to it from the limitedWebPartManager.
                // there are plenty of great ways to do this, in this example i will be using the low-tech approach of enumerating the
                // WebParts collection and checking for the type and title that matches our part.  i am quite positive there are more
                // efficient ways of doing this, but this code gets called exactly once every couple months, so efficiency isn&#039;t worth
                // the extra development cycles
                foreach (System.Web.UI.WebControls.WebParts.WebPart webPart in limitedWebPartManager.WebParts)
                {
                    // check to see if the type of the web part is ListViewWebPart, and if so, check if the title matches our guy.
                    if (webPart is ListViewWebPart &amp;amp;amp;&amp;amp;amp; webPart.Title.Equals(&quot;I Love List Views&quot;))
                    {
                        // cast the web part to a ListViewWebPart so we can start to tweak its properties
                        var listViewWebPart = webPart as ListViewWebPart;

                        // here is some of the magic.  the web part now has its ViewGuid property populated which
                        // contains the Guid of the hidden view.  we get a reference to it here.
                        var view = list.Views[new Guid(listViewWebPart.ViewGuid)];

                        // here we grab a reference to a template view.  this may be the default view of the list,
                        // or maybe you have another view that you created that you want to use.  you don&#039;t have to
                        // do this, but in this scenario i wanted to copy the filter and sort settings from an existing view.
                        var templateView = list.Views[&quot;Name Of Template View&quot;];

                        // now we drop all of the view fields in the hidden view
                        view.ViewFields.DeleteAll();
                        // now we are going to go through a string array and add each of the strings to the view fields collection.  again,
                        // you don&#039;t have to do this, but if you want to change what columns are displayed in your ListViewWebPart, you will
                        // need to muck with the ViewFields of the view.
                        Array.ForEach(new string[] { &quot;First Name&quot;, &quot;Last Name&quot;, &quot;Address&quot; }, f =&gt; view.ViewFields.Add(f));

                        // here we copy the Query straight from the templateView.  if you didn&#039;t have a templateView you could always
                        // just create an SPQuery instance and assign it to the view.Query property.  no points will be taken off for doing that.
                        view.Query = templateView.Query;

                        // update our hidden view, and bask in the awesomeness of our customized ListViewWebPart
                        view.Update();
                    }
                }
            }
            finally
            {
                // do some fun cleanup of disposable items.  if you are wondering about the .Web.Dispose() bit look for my
                // blog article on the memory leaks in the SPLimitedWebPartManager.
                if (limitedWebPartManager != null)
                {
                    if (limitedWebPartManager.Web != null)
                    {
                        limitedWebPartManager.Web.Dispose();
                    }

                    limitedWebPartManager.Dispose();
                }

                if (wp != null)
                {
                    wp.Dispose();
                }

                // i probably missed some .Dispose()s since I cobbled this code together in WordPress and not Visual Studio
            }
        }
</pre>
<div><a class="addthis_button" href="//addthis.com/bookmark.php?v=250" addthis:url='http://www.ofonesandzeros.com/2011/06/15/programmatically-add-listviewwebpart-with-customized-view/' addthis:title='Programmatically Add ListViewWebPart with Customized View '><img src="//cache.addthis.com/cachefly/static/btn/v2/lg-share-en.gif?9d7bd4" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.ofonesandzeros.com/2011/06/15/programmatically-add-listviewwebpart-with-customized-view/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Subversion &#8220;Shelving&#8221;</title>
		<link>http://www.ofonesandzeros.com/2009/01/07/subversion-shelving/</link>
		<comments>http://www.ofonesandzeros.com/2009/01/07/subversion-shelving/#comments</comments>
		<pubDate>Wed, 07 Jan 2009 15:04:36 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://blog.ofonesandzeros.com/2009/01/07/subversion-shelving/</guid>
		<description><![CDATA[I had one of those moments yesterday where you get 60% of the way through fixing a problem a certain way, and then discover that there was a simpler, more elegant solution that would require 10% of the effort.&#160; Problem being, I had just written a lot of code that I didn&#8217;t necessarily want to [...]<div><a class="addthis_button" href="//addthis.com/bookmark.php?v=250" addthis:url='http://www.ofonesandzeros.com/2009/01/07/subversion-shelving/' addthis:title='Subversion &#8220;Shelving&#8221; '><img src="//cache.addthis.com/cachefly/static/btn/v2/lg-share-en.gif?9d7bd4" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a></div>]]></description>
			<content:encoded><![CDATA[<p>I had one of those moments yesterday where you get 60% of the way through fixing a problem a certain way, and then discover that there was a simpler, more elegant solution that would require 10% of the effort.&#160; Problem being, I had just written a lot of code that I didn&#8217;t necessarily want to lose forever, incase it may be useful somewhere down the road.</p>
<p>From my days working with Team Foundation Server I remembered the &quot;Shelving&quot; concept.&#160; Unfortunately, I was using Subversion, not Team Foundation Server.&#160; But isn&#8217;t a shelf really just a branch?&#160; So I figured I could do a poor-mans shelf with Subversion, and I was right.&#160; Worked great.</p>
<p>I was going to write up my steps to do so but decided I would do a quick Google sanity check before expending the effort.&#160; Glad I did, cause <a href="http://markphip.blogspot.com">Mark Phippard</a> did a <a href="http://markphip.blogspot.com/2007/01/shelves-in-subversion.html">much better job</a> then I would have done.&#160; Kudos Mark, thanks for the excellent amount of detail.</p>
<div><a class="addthis_button" href="//addthis.com/bookmark.php?v=250" addthis:url='http://www.ofonesandzeros.com/2009/01/07/subversion-shelving/' addthis:title='Subversion &#8220;Shelving&#8221; '><img src="//cache.addthis.com/cachefly/static/btn/v2/lg-share-en.gif?9d7bd4" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.ofonesandzeros.com/2009/01/07/subversion-shelving/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Great new Visual Studio color theme</title>
		<link>http://www.ofonesandzeros.com/2008/03/28/great-new-visual-studio-color-theme/</link>
		<comments>http://www.ofonesandzeros.com/2008/03/28/great-new-visual-studio-color-theme/#comments</comments>
		<pubDate>Fri, 28 Mar 2008 14:50:22 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://blog.ofonesandzeros.com/2008/03/28/great-new-visual-studio-color-theme/</guid>
		<description><![CDATA[The other day Tomas Restrepo released a new Visual Studio Color Theme called Distant Shores.  It is a low-contrast theme with a dark background, and I must admit I am a BIG FAN!  Have a look at the following screen shot.  BTW &#8211; The font I am using is Damien Guard&#8217;s Envy CodeR font that [...]<div><a class="addthis_button" href="//addthis.com/bookmark.php?v=250" addthis:url='http://www.ofonesandzeros.com/2008/03/28/great-new-visual-studio-color-theme/' addthis:title='Great new Visual Studio color theme '><img src="//cache.addthis.com/cachefly/static/btn/v2/lg-share-en.gif?9d7bd4" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a></div>]]></description>
			<content:encoded><![CDATA[<p>The other day <a href="http://www.winterdom.com/weblog/default.aspx">Tomas Restrepo</a> released a new Visual Studio Color Theme called <a href="http://www.winterdom.com/weblog/2008/03/23/DistantShoresAVisualStudioColorScheme.aspx">Distant Shores</a>.  It is a low-contrast theme with a dark background, and I must admit I am a BIG FAN!  Have a look at the following screen shot.  BTW &#8211; The font I am using is Damien Guard&#8217;s <a href="http://damieng.com/blog/2007/11/27/envy-code-r-coding-font-v07-preview">Envy CodeR</a> font that Tomas Restrepo recommends in his blog posting.</p>
<p><a href="http://dfcv747gi313t.cloudfront.net/wp-content/uploads/2008/03/distant-shores1.jpg?9d7bd4" rel="lightbox"><img border="0" width="244" src="http://dfcv747gi313t.cloudfront.net/wp-content/uploads/2008/03/distant-shores-thumb1.jpg?9d7bd4" alt="Distant Shores" height="149" style="border-width: 0px" /></a></p>
<p>Give it a shot!  Your eyes will thank you!</p>
<div><a class="addthis_button" href="//addthis.com/bookmark.php?v=250" addthis:url='http://www.ofonesandzeros.com/2008/03/28/great-new-visual-studio-color-theme/' addthis:title='Great new Visual Studio color theme '><img src="//cache.addthis.com/cachefly/static/btn/v2/lg-share-en.gif?9d7bd4" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.ofonesandzeros.com/2008/03/28/great-new-visual-studio-color-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My First Linq Program</title>
		<link>http://www.ofonesandzeros.com/2007/06/18/my-first-linq-program/</link>
		<comments>http://www.ofonesandzeros.com/2007/06/18/my-first-linq-program/#comments</comments>
		<pubDate>Mon, 18 Jun 2007 16:15:15 +0000</pubDate>
		<dc:creator>bryan</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://blog.ofonesandzeros.com/2007/06/18/my-first-linq-program/</guid>
		<description><![CDATA[I successfully coded my very first LINQ program today, and man is it a doozie!  Observe: class Program { static void Main(string[] args) { List&#60;Student&#62; studentList = new List&#60;Student&#62;(); studentList.Add(new Student("Charlie", "Brown")); studentList.Add(new Student("Drew", "Carrie")); IEnumerable&#60;Student&#62; students = from Student in studentList where Student.LastName.Equals("Brown") select Student; foreach (Student student in students) { Console.WriteLine(student.FirstName); } Console.ReadLine(); [...]<div><a class="addthis_button" href="//addthis.com/bookmark.php?v=250" addthis:url='http://www.ofonesandzeros.com/2007/06/18/my-first-linq-program/' addthis:title='My First Linq Program '><img src="//cache.addthis.com/cachefly/static/btn/v2/lg-share-en.gif?9d7bd4" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a></div>]]></description>
			<content:encoded><![CDATA[<p>I successfully coded my very first LINQ program today, and man is it a doozie!  Observe:</p>
<pre class="csharpcode"><span class="kwrd">class</span> Program
{
    <span class="kwrd">static</span> <span class="kwrd">void</span> Main(<span class="kwrd">string</span>[] args)
    {
        List&lt;Student&gt; studentList = <span class="kwrd">new</span> List&lt;Student&gt;();

        studentList.Add(<span class="kwrd">new</span> Student(<span class="str">"Charlie"</span>, <span class="str">"Brown"</span>));
        studentList.Add(<span class="kwrd">new</span> Student(<span class="str">"Drew"</span>, <span class="str">"Carrie"</span>));

        IEnumerable&lt;Student&gt; students =
            from
                Student
            <span class="kwrd">in</span>
                studentList
            <span class="kwrd">where</span>
                Student.LastName.Equals(<span class="str">"Brown"</span>)
            select
                Student;

        <span class="kwrd">foreach</span> (Student student <span class="kwrd">in</span> students)
        {
            Console.WriteLine(student.FirstName);
        }

        Console.ReadLine();
    }
}

<span class="kwrd">internal</span> <span class="kwrd">class</span> Student
{
    <span class="kwrd">private</span> <span class="kwrd">string</span> _firstName;
    <span class="kwrd">private</span> <span class="kwrd">string</span> _lastName;

    <span class="kwrd">public</span> Student(<span class="kwrd">string</span> firstName, <span class="kwrd">string</span> lastName)
    {
        _firstName = firstName;
        _lastName = lastName;
    }

    <span class="kwrd">public</span> <span class="kwrd">string</span> LastName
    {
        get { <span class="kwrd">return</span> _lastName; }
        set { _lastName = <span class="kwrd">value</span>; }
    }

    <span class="kwrd">public</span> <span class="kwrd">string</span> FirstName
    {
        get { <span class="kwrd">return</span> _firstName; }
        set { _firstName = <span class="kwrd">value</span>; }
    }
}</pre>
<p><!-- .csharpcode, .csharpcode pre { 	font-size: small; 	color: black; 	font-family: consolas, "Courier New", courier, monospace; 	background-color: #ffffff; 	/*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt { 	background-color: #f4f4f4; 	width: 100%; 	margin: 0em; } .csharpcode .lnum { color: #606060; } --></p>
<p> Which when run looks like:</p>
<p><a href="http://dfcv747gi313t.cloudfront.net/wp-content/uploads/2007/06/croppercapture3.jpg?9d7bd4"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" src="http://dfcv747gi313t.cloudfront.net/wp-content/uploads/2007/06/croppercapture3-thumb.jpg?9d7bd4" border="0" alt="CropperCapture[3]" width="572" height="286" /></a></p>
<p>I&#8217;m excited by the possibilities this offers, and am anxious to have an opportunity to explore all LINQ has to offer!</p>
<div><a class="addthis_button" href="//addthis.com/bookmark.php?v=250" addthis:url='http://www.ofonesandzeros.com/2007/06/18/my-first-linq-program/' addthis:title='My First Linq Program '><img src="//cache.addthis.com/cachefly/static/btn/v2/lg-share-en.gif?9d7bd4" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.ofonesandzeros.com/2007/06/18/my-first-linq-program/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: basic
Database Caching 2/19 queries in 0.042 seconds using disk: basic
Object Caching 694/721 objects using disk: basic
Content Delivery Network via Amazon Web Services: CloudFront: dfcv747gi313t.cloudfront.net

Served from: www.ofonesandzeros.com @ 2012-02-05 12:21:42 -->
