<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>This Old Code - LINQ</title>
    <link>http://thisoldcode.net/</link>
    <description>(Architecture + Development) ^ Testing = Product </description>
    <language>en-us</language>
    <copyright>Aaron Fischer</copyright>
    <lastBuildDate>Fri, 04 Jul 2008 00:01:54 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.0.7226.0</generator>
    <managingEditor>aaron@microfisch.com</managingEditor>
    <webMaster>aaron@microfisch.com</webMaster>
    <item>
      <trackback:ping>http://thisoldcode.net/Trackback.aspx?guid=661deda7-d530-4d52-a358-b7d936774a60</trackback:ping>
      <pingback:server>http://thisoldcode.net/pingback.aspx</pingback:server>
      <pingback:target>http://thisoldcode.net/PermaLink,guid,661deda7-d530-4d52-a358-b7d936774a60.aspx</pingback:target>
      <dc:creator>Aaron Fischer</dc:creator>
      <wfw:comment>http://thisoldcode.net/CommentView,guid,661deda7-d530-4d52-a358-b7d936774a60.aspx</wfw:comment>
      <wfw:commentRss>http://thisoldcode.net/SyndicationService.asmx/GetEntryCommentsRss?guid=661deda7-d530-4d52-a358-b7d936774a60</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
When you set a DataGrid’s datasoure to a LinqDataSource control you still need to
handle the paging event in your code behind file.  It’s also worth noting that
the DataGrid does not use the Linq skip and take paging functionality.  The DataGrid
will simply request all results and page them in memory.
</p>
        <p>
When you over load the OnSelecting event you do not need to specify a datacontext
or TableName or other query specific properties.
</p>
        <img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=661deda7-d530-4d52-a358-b7d936774a60" />
        <br />
        <hr />
This weblog is sponsored by <a href="http://www.MicroFisch.com">MicroFisch</a>.</body>
      <title>LinqDataSoure Observations</title>
      <guid isPermaLink="false">http://thisoldcode.net/PermaLink,guid,661deda7-d530-4d52-a358-b7d936774a60.aspx</guid>
      <link>http://thisoldcode.net/PermaLink,guid,661deda7-d530-4d52-a358-b7d936774a60.aspx</link>
      <pubDate>Fri, 04 Jul 2008 00:01:54 GMT</pubDate>
      <description>&lt;p&gt;
When you set a DataGrid’s datasoure to a LinqDataSource control you still need to
handle the paging event in your code behind file.&amp;nbsp; It’s also worth noting that
the DataGrid does not use the Linq skip and take paging functionality.&amp;nbsp; The DataGrid
will simply request all results and page them in memory.
&lt;/p&gt;
&lt;p&gt;
When you over load the OnSelecting event you do not need to specify a datacontext
or TableName or other query specific properties.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=661deda7-d530-4d52-a358-b7d936774a60" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.MicroFisch.com"&gt;MicroFisch&lt;/a&gt;.</description>
      <comments>http://thisoldcode.net/CommentView,guid,661deda7-d530-4d52-a358-b7d936774a60.aspx</comments>
      <category>ASP.NET</category>
      <category>LINQ</category>
    </item>
    <item>
      <trackback:ping>http://thisoldcode.net/Trackback.aspx?guid=968a3f66-9f03-487f-995d-e5060cd7f6c2</trackback:ping>
      <pingback:server>http://thisoldcode.net/pingback.aspx</pingback:server>
      <pingback:target>http://thisoldcode.net/PermaLink,guid,968a3f66-9f03-487f-995d-e5060cd7f6c2.aspx</pingback:target>
      <dc:creator>Aaron Fischer</dc:creator>
      <wfw:comment>http://thisoldcode.net/CommentView,guid,968a3f66-9f03-487f-995d-e5060cd7f6c2.aspx</wfw:comment>
      <wfw:commentRss>http://thisoldcode.net/SyndicationService.asmx/GetEntryCommentsRss?guid=968a3f66-9f03-487f-995d-e5060cd7f6c2</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <a href="http://msdn2.microsoft.com/en-us/library/bb387098(VS.90).aspx">LINQ to XML</a>
        </p>
        <p>
          <a href="http://msdn2.microsoft.com/en-us/library/bb397926(VS.90).aspx">Language-Integrated
Query (LINQ)</a>
        </p>
        <img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=968a3f66-9f03-487f-995d-e5060cd7f6c2" />
        <br />
        <hr />
This weblog is sponsored by <a href="http://www.MicroFisch.com">MicroFisch</a>.</body>
      <title>Beta Documentation for LINQ to XML</title>
      <guid isPermaLink="false">http://thisoldcode.net/PermaLink,guid,968a3f66-9f03-487f-995d-e5060cd7f6c2.aspx</guid>
      <link>http://thisoldcode.net/PermaLink,guid,968a3f66-9f03-487f-995d-e5060cd7f6c2.aspx</link>
      <pubDate>Mon, 21 May 2007 03:44:55 GMT</pubDate>
      <description>&lt;p&gt;
&lt;a href="http://msdn2.microsoft.com/en-us/library/bb387098(VS.90).aspx"&gt;LINQ to XML&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://msdn2.microsoft.com/en-us/library/bb397926(VS.90).aspx"&gt;Language-Integrated
Query (LINQ)&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=968a3f66-9f03-487f-995d-e5060cd7f6c2" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.MicroFisch.com"&gt;MicroFisch&lt;/a&gt;.</description>
      <comments>http://thisoldcode.net/CommentView,guid,968a3f66-9f03-487f-995d-e5060cd7f6c2.aspx</comments>
      <category>DotNet</category>
      <category>LINQ</category>
      <category>Microsoft</category>
      <category>XML</category>
    </item>
    <item>
      <trackback:ping>http://thisoldcode.net/Trackback.aspx?guid=853eb8c2-e5e5-443c-b8f4-19dc18544453</trackback:ping>
      <pingback:server>http://thisoldcode.net/pingback.aspx</pingback:server>
      <pingback:target>http://thisoldcode.net/PermaLink,guid,853eb8c2-e5e5-443c-b8f4-19dc18544453.aspx</pingback:target>
      <dc:creator>Aaron Fischer</dc:creator>
      <wfw:comment>http://thisoldcode.net/CommentView,guid,853eb8c2-e5e5-443c-b8f4-19dc18544453.aspx</wfw:comment>
      <wfw:commentRss>http://thisoldcode.net/SyndicationService.asmx/GetEntryCommentsRss?guid=853eb8c2-e5e5-443c-b8f4-19dc18544453</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I was having some trouble figuring out how to use the new ado.net entity framework
in the last March Orcas CTP, but leave it to <a href="http://weblogs.asp.net/scottgu/default.aspx" target="_blank">Scott</a> to
have all the answers.  Scott has posted a nice video covering
</p>
        <ul>
          <li>
new asp.net WYSIWYG HTML designer.</li>
          <li>
create classes's from the ORM designer.</li>
          <li>
Intellisense for LINQ.</li>
        </ul>
        <p>
full detailed <a href="http://weblogs.asp.net/scottgu/archive/2007/01/28/video-using-linq-with-asp-net-in-vs-orcas-part-1.aspx" target="_blank">blog
post</a>.  And you can find the video <a href="http://www.scottgu.com/blogposts/video/linqtalk1.wmv">here</a>.
</p>
        <img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=853eb8c2-e5e5-443c-b8f4-19dc18544453" />
        <br />
        <hr />
This weblog is sponsored by <a href="http://www.MicroFisch.com">MicroFisch</a>.</body>
      <title>Orcas Entity/ORM support</title>
      <guid isPermaLink="false">http://thisoldcode.net/PermaLink,guid,853eb8c2-e5e5-443c-b8f4-19dc18544453.aspx</guid>
      <link>http://thisoldcode.net/PermaLink,guid,853eb8c2-e5e5-443c-b8f4-19dc18544453.aspx</link>
      <pubDate>Sat, 21 Apr 2007 21:33:48 GMT</pubDate>
      <description>&lt;p&gt;
I was having some trouble figuring out how to use the new ado.net entity framework
in the last March Orcas CTP, but leave it to &lt;a href="http://weblogs.asp.net/scottgu/default.aspx" target="_blank"&gt;Scott&lt;/a&gt; to
have all the answers.&amp;nbsp; Scott has posted a nice video covering
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
new asp.net WYSIWYG HTML designer.&lt;/li&gt;
&lt;li&gt;
create classes's from the ORM designer.&lt;/li&gt;
&lt;li&gt;
Intellisense for LINQ.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
full detailed &lt;a href="http://weblogs.asp.net/scottgu/archive/2007/01/28/video-using-linq-with-asp-net-in-vs-orcas-part-1.aspx" target="_blank"&gt;blog
post&lt;/a&gt;.&amp;nbsp; And you can find the video &lt;a href="http://www.scottgu.com/blogposts/video/linqtalk1.wmv"&gt;here&lt;/a&gt;.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=853eb8c2-e5e5-443c-b8f4-19dc18544453" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.MicroFisch.com"&gt;MicroFisch&lt;/a&gt;.</description>
      <comments>http://thisoldcode.net/CommentView,guid,853eb8c2-e5e5-443c-b8f4-19dc18544453.aspx</comments>
      <category>ASP.NET</category>
      <category>DotNet</category>
      <category>LINQ</category>
      <category>Microsoft</category>
      <category>SQL</category>
      <category>Visual Studio</category>
    </item>
    <item>
      <trackback:ping>http://thisoldcode.net/Trackback.aspx?guid=586116c4-04fa-4be7-9ebb-4df95cbd141d</trackback:ping>
      <pingback:server>http://thisoldcode.net/pingback.aspx</pingback:server>
      <pingback:target>http://thisoldcode.net/PermaLink,guid,586116c4-04fa-4be7-9ebb-4df95cbd141d.aspx</pingback:target>
      <dc:creator>Aaron Fischer</dc:creator>
      <wfw:comment>http://thisoldcode.net/CommentView,guid,586116c4-04fa-4be7-9ebb-4df95cbd141d.aspx</wfw:comment>
      <wfw:commentRss>http://thisoldcode.net/SyndicationService.asmx/GetEntryCommentsRss?guid=586116c4-04fa-4be7-9ebb-4df95cbd141d</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
You can find the updated LINQ samples for both VB and C# <a href="http://msdn2.microsoft.com/en-us/vbasic/bb330936.aspx" target="_blank">here</a></p>
        <img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=586116c4-04fa-4be7-9ebb-4df95cbd141d" />
        <br />
        <hr />
This weblog is sponsored by <a href="http://www.MicroFisch.com">MicroFisch</a>.</body>
      <title>LINQ for Orcas Beta1</title>
      <guid isPermaLink="false">http://thisoldcode.net/PermaLink,guid,586116c4-04fa-4be7-9ebb-4df95cbd141d.aspx</guid>
      <link>http://thisoldcode.net/PermaLink,guid,586116c4-04fa-4be7-9ebb-4df95cbd141d.aspx</link>
      <pubDate>Fri, 20 Apr 2007 21:47:59 GMT</pubDate>
      <description>&lt;p&gt;
You can find the updated LINQ samples for both VB and C# &lt;a href="http://msdn2.microsoft.com/en-us/vbasic/bb330936.aspx" target="_blank"&gt;here&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=586116c4-04fa-4be7-9ebb-4df95cbd141d" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.MicroFisch.com"&gt;MicroFisch&lt;/a&gt;.</description>
      <comments>http://thisoldcode.net/CommentView,guid,586116c4-04fa-4be7-9ebb-4df95cbd141d.aspx</comments>
      <category>CSharp</category>
      <category>LINQ</category>
      <category>VB</category>
    </item>
    <item>
      <trackback:ping>http://thisoldcode.net/Trackback.aspx?guid=91fedf3a-1be4-48c2-8250-8828f24536d6</trackback:ping>
      <pingback:server>http://thisoldcode.net/pingback.aspx</pingback:server>
      <pingback:target>http://thisoldcode.net/PermaLink,guid,91fedf3a-1be4-48c2-8250-8828f24536d6.aspx</pingback:target>
      <dc:creator>Aaron Fischer</dc:creator>
      <wfw:comment>http://thisoldcode.net/CommentView,guid,91fedf3a-1be4-48c2-8250-8828f24536d6.aspx</wfw:comment>
      <wfw:commentRss>http://thisoldcode.net/SyndicationService.asmx/GetEntryCommentsRss?guid=91fedf3a-1be4-48c2-8250-8828f24536d6</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Incase you missed it yesterday Soma announced the <a href="http://blogs.msdn.com/somasegar/archive/2007/04/19/visual-studio-orcas-and-net-fx-3-5-beta1-shipped.aspx" target="_blank">release
of Orcas Beta 1,</a> it can be downloaded <a href="http://msdn2.microsoft.com/en-us/vstudio/aa700831.aspx" target="_blank">here</a>. 
</p>
        <img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=91fedf3a-1be4-48c2-8250-8828f24536d6" />
        <br />
        <hr />
This weblog is sponsored by <a href="http://www.MicroFisch.com">MicroFisch</a>.</body>
      <title>Beta 1 Of Orcas Released Into The Wild</title>
      <guid isPermaLink="false">http://thisoldcode.net/PermaLink,guid,91fedf3a-1be4-48c2-8250-8828f24536d6.aspx</guid>
      <link>http://thisoldcode.net/PermaLink,guid,91fedf3a-1be4-48c2-8250-8828f24536d6.aspx</link>
      <pubDate>Fri, 20 Apr 2007 21:43:03 GMT</pubDate>
      <description>&lt;p&gt;
Incase you missed it yesterday Soma announced the &lt;a href="http://blogs.msdn.com/somasegar/archive/2007/04/19/visual-studio-orcas-and-net-fx-3-5-beta1-shipped.aspx" target="_blank"&gt;release
of Orcas Beta 1,&lt;/a&gt; it can be downloaded &lt;a href="http://msdn2.microsoft.com/en-us/vstudio/aa700831.aspx" target="_blank"&gt;here&lt;/a&gt;. 
&lt;/p&gt;
&lt;img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=91fedf3a-1be4-48c2-8250-8828f24536d6" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.MicroFisch.com"&gt;MicroFisch&lt;/a&gt;.</description>
      <comments>http://thisoldcode.net/CommentView,guid,91fedf3a-1be4-48c2-8250-8828f24536d6.aspx</comments>
      <category>ASP.NET</category>
      <category>CSharp</category>
      <category>DotNet</category>
      <category>LINQ</category>
      <category>Microsoft</category>
      <category>VB</category>
      <category>Visual Studio</category>
    </item>
    <item>
      <trackback:ping>http://thisoldcode.net/Trackback.aspx?guid=76469058-aa7b-4e13-a5f5-76c889546322</trackback:ping>
      <pingback:server>http://thisoldcode.net/pingback.aspx</pingback:server>
      <pingback:target>http://thisoldcode.net/PermaLink,guid,76469058-aa7b-4e13-a5f5-76c889546322.aspx</pingback:target>
      <dc:creator>Aaron Fischer</dc:creator>
      <wfw:comment>http://thisoldcode.net/CommentView,guid,76469058-aa7b-4e13-a5f5-76c889546322.aspx</wfw:comment>
      <wfw:commentRss>http://thisoldcode.net/SyndicationService.asmx/GetEntryCommentsRss?guid=76469058-aa7b-4e13-a5f5-76c889546322</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I was taking a look at <a href="http://weblogs.asp.net/scottgu/archive/2007/03/30/slides-from-my-asp-net-connections-talks-wpf-e-linq-and-asp-net-tips-tricks.aspx" target="_blank">Scott
Guthrie's</a> Developing Data-Driven Web Applications using LINQ.  This is going
to make life a little less dreary.
</p>
        <p>
          <a href="http://thisoldcode.microfisch.com/content/binary/WindowsLiveWriter/LINQWarmFuzzyFeeling_D3BA/image%7B0%7D%5B1%5D.png" atomicselection="true">
            <img style="border: 0px none ;" src="http://thisoldcode.microfisch.com/content/binary/WindowsLiveWriter/LINQWarmFuzzyFeeling_D3BA/image%7B0%7D.png" border="0" height="120" width="240" />
          </a>
        </p>
        <p>
I like the second to the  last line results.Skip(startRow).Take(10);
</p>
        <img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=76469058-aa7b-4e13-a5f5-76c889546322" />
        <br />
        <hr />
This weblog is sponsored by <a href="http://www.MicroFisch.com">MicroFisch</a>.</body>
      <title>LINQ == Warm Fuzzy Feeling</title>
      <guid isPermaLink="false">http://thisoldcode.net/PermaLink,guid,76469058-aa7b-4e13-a5f5-76c889546322.aspx</guid>
      <link>http://thisoldcode.net/PermaLink,guid,76469058-aa7b-4e13-a5f5-76c889546322.aspx</link>
      <pubDate>Sat, 31 Mar 2007 22:03:28 GMT</pubDate>
      <description>&lt;p&gt;
I was taking a look at &lt;a href="http://weblogs.asp.net/scottgu/archive/2007/03/30/slides-from-my-asp-net-connections-talks-wpf-e-linq-and-asp-net-tips-tricks.aspx" target="_blank"&gt;Scott
Guthrie's&lt;/a&gt; Developing Data-Driven Web Applications using LINQ.&amp;nbsp; This is going
to make life a little less dreary.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://thisoldcode.microfisch.com/content/binary/WindowsLiveWriter/LINQWarmFuzzyFeeling_D3BA/image%7B0%7D%5B1%5D.png" atomicselection="true"&gt;&lt;img style="border: 0px none ;" src="http://thisoldcode.microfisch.com/content/binary/WindowsLiveWriter/LINQWarmFuzzyFeeling_D3BA/image%7B0%7D.png" border="0" height="120" width="240"&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
I like the second to the &amp;nbsp;last line results.Skip(startRow).Take(10);
&lt;/p&gt;
&lt;img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=76469058-aa7b-4e13-a5f5-76c889546322" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.MicroFisch.com"&gt;MicroFisch&lt;/a&gt;.</description>
      <comments>http://thisoldcode.net/CommentView,guid,76469058-aa7b-4e13-a5f5-76c889546322.aspx</comments>
      <category>DotNet</category>
      <category>Microsoft</category>
      <category>Visual Studio</category>
      <category>LINQ</category>
    </item>
  </channel>
</rss>