<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" 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:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
    <channel>
        <title>Rocks Thoughts</title>
        <link>http://rocksthoughts.com/blog/Default.aspx</link>
        <description>.NET Philosophiser</description>
        <language>en-US</language>
        <copyright>Chris Rock</copyright>
        <managingEditor>chris@rocksthoughts.com</managingEditor>
        <generator>Subtext Version 1.9.5.177</generator>
        <image>
            <title>Rocks Thoughts</title>
            <url>http://rocksthoughts.com/blog/images/RSS2Image.gif</url>
            <link>http://rocksthoughts.com/blog/Default.aspx</link>
            <width>77</width>
            <height>60</height>
        </image>
        <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/RocksThoughts" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
            <title>Quick Update</title>
            <category>Stuff</category>
            <category>Software Development</category>
            <link>http://feedproxy.google.com/~r/RocksThoughts/~3/73vsMy02fmU/quick-update.aspx</link>
            <description>After a few months as a contractor for &lt;a href="http://www.pragmaticworks.com/" target="_new"&gt;PragmaticWorks, Inc&lt;/a&gt; I have accepted an offer to become a full time employee with them. I'm a product manager for &lt;a target="_new" href="http://www.pragmaticworks.com/products/Business-Intelligence/TaskFactory/"&gt;TaskFactory&lt;/a&gt;, a collection of SSIS components. I built the product from the ground up. The first release went out last week and we'll be adding 15-20 more components over the next few months. It's raw right now and we have some beta testers on it now. I'm sure there will be a lot of changes to it over the next few months. &lt;br /&gt;
&lt;br /&gt;
One of the requirements of the new position is that I blog every week. Over the next few months I'll probably be blogging about SSIS, PowerShell (I'm learning it now), &lt;a target="_new" href="http://www.sqlshare.com/"&gt;SQLShare &lt;/a&gt;updates (I'm doing videos for them), debugging  and other various stuff. &lt;br /&gt;
&lt;br /&gt;
Looking forward to blogging again!&lt;br /&gt;
&lt;br /&gt;
Until next time...&lt;img src="http://rocksthoughts.com/blog/aggbug/59.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Chris Rock</dc:creator>
            <guid isPermaLink="false">http://rocksthoughts.com/blog/archive/2009/09/08/quick-update.aspx</guid>
            <pubDate>Wed, 09 Sep 2009 01:27:10 GMT</pubDate>
            <wfw:comment>http://rocksthoughts.com/blog/comments/59.aspx</wfw:comment>
            <comments>http://rocksthoughts.com/blog/archive/2009/09/08/quick-update.aspx#feedback</comments>
            <wfw:commentRss>http://rocksthoughts.com/blog/comments/commentRss/59.aspx</wfw:commentRss>
        <feedburner:origLink>http://rocksthoughts.com/blog/archive/2009/09/08/quick-update.aspx</feedburner:origLink></item>
        <item>
            <title>Implicit conversion from data type sql_variant to uniqueidentifer is not allowed.</title>
            <category>ASP.NET</category>
            <link>http://feedproxy.google.com/~r/RocksThoughts/~3/UV3k__IT4k4/implicit-conversion-from-data-type-sql_variant-to-uniqueidentifer-is-not.aspx</link>
            <description>If you use guids (uniqueidentifiers) in your database in conjunction with ASP.NET SqlDataSource databinding, chances are you'll eventually run into this error &lt;span style="font-weight: bold;"&gt;"Implicit conversion from data type sql_variant to uniqueidentifer is not allowed. User the CONVERT function to run this query"&lt;/span&gt;. &lt;br /&gt;
&lt;br /&gt;
Here is a screenshot of the whole error:&lt;br /&gt;
&lt;img alt="" src="http://i44.tinypic.com/29mlude.gif" /&gt; &lt;br /&gt;
&lt;br /&gt;
The problem is Visual Studio sucks at picking up the fact that this error will occur EVERY SINGLE TIME and continues to let the error happen. &lt;br /&gt;
&lt;br /&gt;
It's easy to fix though. Find your parameters (selectparameters, insertparameters, etc) for the particular statement you're running (select, update, delete, insert). You should see something like this:&lt;br /&gt;
&lt;br /&gt;
&lt;img alt="" src="http://i42.tinypic.com/2u91y4k.gif" /&gt; &lt;br /&gt;
&lt;br /&gt;
The fix is just to remove the &lt;span style="font-weight: bold;"&gt;Type = "Object"&lt;/span&gt; from the parameter that is linked to the uniqueidentifer column in your table. In this case, the controlparameter "CompanyID"  is linked to the companyid column in my companies table. The resulting code should look like this:&lt;br /&gt;
&lt;br /&gt;
&lt;img alt="" src="http://i39.tinypic.com/2ugdkqp.gif" /&gt; &lt;br /&gt;
Until Next Time...&lt;img src="http://rocksthoughts.com/blog/aggbug/58.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Chris Rock</dc:creator>
            <guid isPermaLink="false">http://rocksthoughts.com/blog/archive/2009/03/23/implicit-conversion-from-data-type-sql_variant-to-uniqueidentifer-is-not.aspx</guid>
            <pubDate>Mon, 23 Mar 2009 15:06:09 GMT</pubDate>
            <wfw:comment>http://rocksthoughts.com/blog/comments/58.aspx</wfw:comment>
            <comments>http://rocksthoughts.com/blog/archive/2009/03/23/implicit-conversion-from-data-type-sql_variant-to-uniqueidentifer-is-not.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://rocksthoughts.com/blog/comments/commentRss/58.aspx</wfw:commentRss>
        <feedburner:origLink>http://rocksthoughts.com/blog/archive/2009/03/23/implicit-conversion-from-data-type-sql_variant-to-uniqueidentifer-is-not.aspx</feedburner:origLink></item>
        <item>
            <title>Ok, So I neglected my blog</title>
            <category>Personal</category>
            <link>http://feedproxy.google.com/~r/RocksThoughts/~3/eD9N7LnMVNg/ok-so-i-neglected-my-blog.aspx</link>
            <description>For the past couple of months I've neglected my blog. Although, I have been getting a lot of positive feedback for my previous post so at least I'm getting a decent amount of traffic. To be quite honest, I lost the drive to write for a while. I'm hoping that changes and I can get back into giving some decent content to everyone. &lt;br /&gt;
&lt;br /&gt;
I've been mostly working on jumpstarttv.com which is in constant motion. I'm always doing something with it. The development is coming to a close by the end of the month with just minor updates here and there but it's mostly just going to be content development. &lt;br /&gt;
&lt;br /&gt;
Until Next Time...&lt;img src="http://rocksthoughts.com/blog/aggbug/57.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Chris Rock</dc:creator>
            <guid isPermaLink="false">http://rocksthoughts.com/blog/archive/2009/03/10/ok-so-i-neglected-my-blog.aspx</guid>
            <pubDate>Wed, 11 Mar 2009 01:18:41 GMT</pubDate>
            <wfw:comment>http://rocksthoughts.com/blog/comments/57.aspx</wfw:comment>
            <comments>http://rocksthoughts.com/blog/archive/2009/03/10/ok-so-i-neglected-my-blog.aspx#feedback</comments>
            <wfw:commentRss>http://rocksthoughts.com/blog/comments/commentRss/57.aspx</wfw:commentRss>
        <feedburner:origLink>http://rocksthoughts.com/blog/archive/2009/03/10/ok-so-i-neglected-my-blog.aspx</feedburner:origLink></item>
        <item>
            <title>Relaunch of JumpStartTV.com</title>
            <category>ASP.NET</category>
            <category>Personal</category>
            <category>Stuff</category>
            <category>Software Development</category>
            <link>http://feedproxy.google.com/~r/RocksThoughts/~3/QV_zJcoBM9Q/relaunch-of-jumpstarttv.com.aspx</link>
            <description>A few months ago &lt;a target="_blank" href="http://www.endtoendtraining.com"&gt;my company&lt;/a&gt; acquired &lt;a target="_blank" href="http://www.jumpstarttv.com"&gt;jumpstarttv.com&lt;/a&gt;. One of our partners Brian Knight had started the project a few years ago but got busy and it was left in limbo. We decided that we could take it over and make it a really great site for tasked based videos. Our idea is to have very short (2-5 minute) videos that teach you how to do a specific task or explain a single subject. A couple of examples are "What is the index seek operator" and "Creating a database with SMO". &lt;br /&gt;
&lt;br /&gt;
My part of the project was to spiff it up a little bit. So I've done a few things to the site to make it more user friendly. All the work has been done in visual studio 2008. There's even a little ajax thrown in as well (Part of the "Watch It Later" functionality). With that said there is still a lot of work we're doing to make the site even better. &lt;br /&gt;
&lt;br /&gt;
Look for more updates from me as we goes through various iterations on the site. If you have any suggestions for the site, let me know. We are always looking for feedback!&lt;img src="http://rocksthoughts.com/blog/aggbug/55.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Chris Rock</dc:creator>
            <guid isPermaLink="false">http://rocksthoughts.com/blog/archive/2008/09/17/relaunch-of-jumpstarttv.com.aspx</guid>
            <pubDate>Wed, 17 Sep 2008 13:39:41 GMT</pubDate>
            <wfw:comment>http://rocksthoughts.com/blog/comments/55.aspx</wfw:comment>
            <comments>http://rocksthoughts.com/blog/archive/2008/09/17/relaunch-of-jumpstarttv.com.aspx#feedback</comments>
            <wfw:commentRss>http://rocksthoughts.com/blog/comments/commentRss/55.aspx</wfw:commentRss>
        <feedburner:origLink>http://rocksthoughts.com/blog/archive/2008/09/17/relaunch-of-jumpstarttv.com.aspx</feedburner:origLink></item>
        <item>
            <title>I've pretty much given up on IE7</title>
            <category>Stuff</category>
            <link>http://feedproxy.google.com/~r/RocksThoughts/~3/rRSDN-N7eW4/ive-pretty-much-given-up-on-ie7.aspx</link>
            <description>IE7 has been giving me a BUNCH of problems lately. Not just on one machine but ALL THREE OF MY MACHINES! It consistently freezes, crashes and continues to really irritate me. I'm using Firefox until they either fix the problem(s). I'll be loading up chrome this week as well.&lt;br /&gt;
&lt;br /&gt;
I used to like IE6 on XP because I could login as a limited access user and use IE as a "shell" to open administrative windows using MakeMeAdmin. They took that away with IE7 and now I'm stuck learning all of the control panel command names. (compmgmt.msc = Computer Management). I'm not real sure what they were thinking with that unless they had only had Vista on the brain. &lt;br /&gt;
&lt;br /&gt;
All in all I'm pretty disappointed with IE. I still *have* to use it while testing features on jumpstarttv.com but other than that, It's firefox for me!&lt;img src="http://rocksthoughts.com/blog/aggbug/52.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Chris Rock</dc:creator>
            <guid isPermaLink="false">http://rocksthoughts.com/blog/archive/2008/09/12/ive-pretty-much-given-up-on-ie7.aspx</guid>
            <pubDate>Fri, 12 Sep 2008 17:14:38 GMT</pubDate>
            <wfw:comment>http://rocksthoughts.com/blog/comments/52.aspx</wfw:comment>
            <comments>http://rocksthoughts.com/blog/archive/2008/09/12/ive-pretty-much-given-up-on-ie7.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://rocksthoughts.com/blog/comments/commentRss/52.aspx</wfw:commentRss>
        <feedburner:origLink>http://rocksthoughts.com/blog/archive/2008/09/12/ive-pretty-much-given-up-on-ie7.aspx</feedburner:origLink></item>
        <item>
            <title>Datatable to List of objects mapper.</title>
            <category>VB.NET</category>
            <category>Software Development</category>
            <link>http://feedproxy.google.com/~r/RocksThoughts/~3/1cPl4Yc2VhA/datatable-to-list-of-objects-mapper.aspx</link>
            <description>&lt;div style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;
&lt;div style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;span style="FONT-SIZE: 10pt"&gt;In my &lt;a target="_blank" href="http://www.rocksthoughts.com/blog/archive/2008/04/24/creating-a-datarow-to-customer-object-mapper.aspx"&gt;previous blog post&lt;/a&gt; about mapping data rows to objects you saw how easy it was to use reflection to map a data row to an object. With a little extra effort you can map data tables to a list of those mapped objects. The code below builds on my previous blog and will not work unless you have the code from that blog entry.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="COLOR: blue"&gt;Public Shared Function&lt;/span&gt; MapDataTableToList(&lt;span style="COLOR: blue"&gt;Of&lt;/span&gt; T)(&lt;span style="COLOR: blue"&gt;ByVal&lt;/span&gt; dt &lt;span style="COLOR: blue"&gt;As&lt;/span&gt; DataTable) &lt;span style="COLOR: blue"&gt;As&lt;/span&gt; IList(&lt;span style="COLOR: blue"&gt;Of&lt;/span&gt; T)&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;span style="FONT-SIZE: 10pt"&gt;        &lt;span style="COLOR: blue"&gt;If&lt;/span&gt; dt &lt;span style="COLOR: blue"&gt;Is&lt;/span&gt; &lt;span style="COLOR: blue"&gt;Nothing&lt;/span&gt; &lt;span style="COLOR: blue"&gt;Then&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;span style="FONT-SIZE: 10pt"&gt;            &lt;span style="COLOR: blue"&gt;Return&lt;/span&gt; &lt;span style="COLOR: blue"&gt;Nothing&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;span style="FONT-SIZE: 10pt"&gt;        &lt;span style="COLOR: blue"&gt;End&lt;/span&gt; &lt;span style="COLOR: blue"&gt;If&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt; &lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;span style="FONT-SIZE: 10pt"&gt;        &lt;span style="COLOR: blue"&gt;Dim&lt;/span&gt; list &lt;span style="COLOR: blue"&gt;As&lt;/span&gt; IList(&lt;span style="COLOR: blue"&gt;Of&lt;/span&gt; T) = &lt;span style="COLOR: blue"&gt;New&lt;/span&gt; List(&lt;span style="COLOR: blue"&gt;Of&lt;/span&gt; T)&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;span style="FONT-SIZE: 10pt"&gt;        &lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;span style="FONT-SIZE: 10pt"&gt;        &lt;span style="COLOR: blue"&gt;For&lt;/span&gt; &lt;span style="COLOR: blue"&gt;Each&lt;/span&gt; dr &lt;span style="COLOR: blue"&gt;As&lt;/span&gt; DataRow &lt;span style="COLOR: blue"&gt;In&lt;/span&gt; dt.Rows&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;span style="FONT-SIZE: 10pt"&gt;            list.Add(MapDatarowToObject(&lt;span style="COLOR: blue"&gt;Of&lt;/span&gt; T)(dr))&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;span style="FONT-SIZE: 10pt"&gt;        &lt;span style="COLOR: blue"&gt;Next&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt; &lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;span style="FONT-SIZE: 10pt"&gt;        &lt;span style="COLOR: blue"&gt;Return&lt;/span&gt; list&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 10pt"&gt;&lt;span style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%"&gt;    &lt;span style="COLOR: blue"&gt;End&lt;/span&gt; &lt;span style="COLOR: blue"&gt;Function&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;span style="FONT-SIZE: 10pt"&gt;To explain how this works we’ll go line by line&lt;br /&gt;
&lt;br /&gt;
&lt;span style="COLOR: blue"&gt;Public Shared Function&lt;/span&gt; MapDataTableToList(&lt;span style="COLOR: blue"&gt;Of&lt;/span&gt; T)(&lt;span style="COLOR: blue"&gt;ByVal&lt;/span&gt; dt &lt;span style="COLOR: blue"&gt;As&lt;/span&gt; DataTable) &lt;span style="COLOR: blue"&gt;As&lt;/span&gt; IList(&lt;span style="COLOR: blue"&gt;Of&lt;/span&gt; T)&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;span style="FONT-SIZE: 10pt"&gt;&lt;br /&gt;
I’m creating a method that needs to be called by defining a type for T. The only parameter is a data table. An example of calling this method looks like this: &lt;br /&gt;
&lt;br /&gt;
&lt;span style="COLOR: blue"&gt;Dim&lt;/span&gt; dt &lt;span style="COLOR: blue"&gt;As&lt;/span&gt; DataTable = GetDataTableFromDb()&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue"&gt;Dim&lt;/span&gt;&lt;span style="FONT-SIZE: 10pt"&gt; usersList &lt;span style="COLOR: blue"&gt;As&lt;/span&gt; IList(&lt;span style="COLOR: blue"&gt;Of&lt;/span&gt; User) = MapDataTableToList(&lt;span style="COLOR: blue"&gt;Of&lt;/span&gt; User)(dt)&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 10pt"&gt; &lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;span style="FONT-SIZE: 10pt"&gt;This would convert a data table to a generic list (IList) of user objects.&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue"&gt;If&lt;/span&gt;&lt;span style="FONT-SIZE: 10pt"&gt; dt &lt;span style="COLOR: blue"&gt;Is&lt;/span&gt; &lt;span style="COLOR: blue"&gt;Nothing&lt;/span&gt; &lt;span style="COLOR: blue"&gt;Then&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0.5in; LINE-HEIGHT: normal"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue"&gt;Return&lt;/span&gt;&lt;span style="FONT-SIZE: 10pt"&gt; &lt;span style="COLOR: blue"&gt;Nothing&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue"&gt;End&lt;/span&gt;&lt;span style="FONT-SIZE: 10pt"&gt; &lt;span style="COLOR: blue"&gt;If&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;span style="FONT-SIZE: 10pt"&gt;&lt;br /&gt;
These lines of code make sure that the data table parameter has a value.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="COLOR: blue"&gt;Dim&lt;/span&gt; list &lt;span style="COLOR: blue"&gt;As&lt;/span&gt; IList(&lt;span style="COLOR: blue"&gt;Of&lt;/span&gt; T) = &lt;span style="COLOR: blue"&gt;New&lt;/span&gt; List(&lt;span style="COLOR: blue"&gt;Of&lt;/span&gt; T)&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt; &lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;span style="FONT-SIZE: 10pt"&gt;Create a generic list of objects based on T. T is the generic type specified when calling the method. In the example usage above the T parameter would be of type User.&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt; &lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt; &lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue"&gt;For&lt;/span&gt;&lt;span style="FONT-SIZE: 10pt"&gt; &lt;span style="COLOR: blue"&gt;Each&lt;/span&gt; dr &lt;span style="COLOR: blue"&gt;As&lt;/span&gt; DataRow &lt;span style="COLOR: blue"&gt;In&lt;/span&gt; dt.Rows&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0.5in; LINE-HEIGHT: normal"&gt;&lt;span style="FONT-SIZE: 10pt"&gt;list.Add(MapDatarowToObject(&lt;span style="COLOR: blue"&gt;Of&lt;/span&gt; T)(dr))&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: blue"&gt;Next&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt;&lt;span style="FONT-SIZE: 10pt"&gt;&lt;br /&gt;
Iterate through each data row in the data table and call MapDatarowToObject (from the previous blog entry) and add the mapped object to the list.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="COLOR: blue"&gt;Return&lt;/span&gt; list&lt;/span&gt;&lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"&gt; &lt;/div&gt;
&lt;div style="MARGIN: 0in 0in 10pt"&gt;&lt;span style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%"&gt;Return the list of objects from the method.&lt;br /&gt;
&lt;br /&gt;
So there you go, An easy to use data table to object mapper. &lt;br /&gt;
&lt;br /&gt;
Until next time.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;img src="http://rocksthoughts.com/blog/aggbug/50.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Chris Rock</dc:creator>
            <guid isPermaLink="false">http://rocksthoughts.com/blog/archive/2008/07/30/datatable-to-list-of-objects-mapper.aspx</guid>
            <pubDate>Wed, 30 Jul 2008 12:44:57 GMT</pubDate>
            <wfw:comment>http://rocksthoughts.com/blog/comments/50.aspx</wfw:comment>
            <comments>http://rocksthoughts.com/blog/archive/2008/07/30/datatable-to-list-of-objects-mapper.aspx#feedback</comments>
            <slash:comments>5</slash:comments>
            <wfw:commentRss>http://rocksthoughts.com/blog/comments/commentRss/50.aspx</wfw:commentRss>
        <feedburner:origLink>http://rocksthoughts.com/blog/archive/2008/07/30/datatable-to-list-of-objects-mapper.aspx</feedburner:origLink></item>
        <item>
            <title>So I can add trainer to my resume...</title>
            <category>ASP.NET</category>
            <category>.NET 3.5</category>
            <category>Speaking</category>
            <link>http://feedproxy.google.com/~r/RocksThoughts/~3/ZSHaIoYXQ9k/so-i-can-add-trainer-to-my-resume.aspx</link>
            <description>&lt;p&gt;It's been about a month since I last posted. I have a good excuse although I could have taken 5 minutes over the last month to at least say hi. In any case over the last month I've been busy with two big projects.&lt;/p&gt;
&lt;p&gt;The first is the relaunch of &lt;a target="_blank" href="http://www.jumpstarttv.com"&gt;JumpStartTV.com&lt;/a&gt;. It's was a site developed by Brian Knight with the intentions of a different kind of video site. Along the way it was forgotten. Andy decided to revive the project and I was the one tasked with the revival. I haven't done too much work to it yet as we just wanted to get it up and running with a few minor changes. I added a tag cloud and added some admin tools for automatically processing videos but that's about it. Look for some very nice updates over the next few weeks with a major push of content. We're currently planning 1 new video per day 4 days a week for the SQL channel. The .NET channel will start adding content in October. We have a lot of different authors contributing content which should make for a very cool technical video site. By the way, all of the content is free.&lt;/p&gt;
&lt;p&gt;The second project is the one with which I can add trainer to my resume. I successfully put together a Beginning ASP.NET course and delivered it to 7 students last week. It went well in most places but needs a little work to get it totally right. I would say that the students were pretty happy with the content and enjoyed their time training with me. I even had one student buy a $50 gift card as a thank you. &lt;br /&gt;
&lt;br /&gt;
Andy and I are going to be developing two more courses that will be available next year. Advanced ASP.NET and .NET for DBA's. There will be more information on those courses to come. &lt;br /&gt;
&lt;br /&gt;
I'm really excited about the work that I'm doing and this next year should be a really good for me both professionally and personally. &lt;br /&gt;
&lt;br /&gt;
My next blog should be the one I promised a few months ago about mapping a data table to list objects. &lt;/p&gt;
&lt;p&gt;Until next time.&lt;/p&gt;&lt;img src="http://rocksthoughts.com/blog/aggbug/49.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Chris Rock</dc:creator>
            <guid isPermaLink="false">http://rocksthoughts.com/blog/archive/2008/07/26/so-i-can-add-trainer-to-my-resume.aspx</guid>
            <pubDate>Sun, 27 Jul 2008 00:55:51 GMT</pubDate>
            <wfw:comment>http://rocksthoughts.com/blog/comments/49.aspx</wfw:comment>
            <comments>http://rocksthoughts.com/blog/archive/2008/07/26/so-i-can-add-trainer-to-my-resume.aspx#feedback</comments>
            <wfw:commentRss>http://rocksthoughts.com/blog/comments/commentRss/49.aspx</wfw:commentRss>
        <feedburner:origLink>http://rocksthoughts.com/blog/archive/2008/07/26/so-i-can-add-trainer-to-my-resume.aspx</feedburner:origLink></item>
        <item>
            <title>Recap of the Central Florida .NET Users Group</title>
            <category>Speaking</category>
            <link>http://feedproxy.google.com/~r/RocksThoughts/~3/Vo9QNm4cSzI/recap-of-the-central-florida-.net-users-group.aspx</link>
            <description>Last tuesday I went to speak at the Central Florida .NET Users group. My session covered some of the new features in C# and VB.NET using Visual Studio 2008. I want to thank Roy and Charlie for inviting me to speak. It was my first users group session. &lt;br /&gt;
&lt;br /&gt;
I had a good time with this group. There were a lot of really good questions and suggestions. I've never had such a huge response. Where were these attendees at my &lt;a target="_blank" href="http://www.rocksthoughts.com/blog/archive/2008/06/09/minuteman.aspx"&gt;last SQL Saturday session&lt;/a&gt;?&lt;br /&gt;
&lt;br /&gt;
After the session was over I got to hang out with a couple of the attendees at Chili's. Had a beer, some food and some really interesting conversations. One in particular about &lt;a target="_blank" href="http://projecteuler.net/"&gt;Project Euler&lt;/a&gt;. I had never heard about it before. It's a really cool site for nerds!&lt;br /&gt;
&lt;br /&gt;
One of the most surprising things I heard that night was the number of employees that attended the users group from a local company. Out of approximately 1000 developers, 2 from the company showed up. 2 out of 1000.... That's just staggering to me. However it's not that surprising. A good number developers do not want to do anything outside of work. I think the reasoning I've heard behind that is if they aren't being paid for it, then why should they do it? The 2 people that showed up were really smart and I enjoyed talking with them. &lt;br /&gt;
&lt;br /&gt;
All in all it was a good night. I got some great feedback, had a good time and enjoyed everything about it. Ok, maybe the two hour drive home at 10:30 P.M. wasn't all that fun but it was worth it...&lt;br /&gt;
&lt;br /&gt;
Sorry for my lack of posts recently. I've been really busy with a few projects that you'll be hearing about shortly.&lt;br /&gt;
&lt;br /&gt;&lt;img src="http://rocksthoughts.com/blog/aggbug/48.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Chris Rock</dc:creator>
            <guid isPermaLink="false">http://rocksthoughts.com/blog/archive/2008/06/24/recap-of-the-central-florida-.net-users-group.aspx</guid>
            <pubDate>Tue, 24 Jun 2008 16:07:48 GMT</pubDate>
            <wfw:comment>http://rocksthoughts.com/blog/comments/48.aspx</wfw:comment>
            <comments>http://rocksthoughts.com/blog/archive/2008/06/24/recap-of-the-central-florida-.net-users-group.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://rocksthoughts.com/blog/comments/commentRss/48.aspx</wfw:commentRss>
        <feedburner:origLink>http://rocksthoughts.com/blog/archive/2008/06/24/recap-of-the-central-florida-.net-users-group.aspx</feedburner:origLink></item>
        <item>
            <title>Minuteman!</title>
            <category>Personal</category>
            <category>Speaking</category>
            <link>http://feedproxy.google.com/~r/RocksThoughts/~3/rTrrnooL3vQ/minuteman.aspx</link>
            <description>No, that's not what my wife calls me. Ok, maybe it is, but that's not the point of this post. &lt;br /&gt;
&lt;br /&gt;
The SQL Saturday "inbetween" this weekend event went pretty well. Lot of old friends and some new ones. I had lunch with a few new speakers which is a rarity that day of the event. As usual got to meet a few new people. I had to remind Joe Healy of our &lt;a target="_blank" href="http://www.rocksthoughts.com/blog/archive/2008/05/04/another-successful-sql-saturday-jacksonville.aspx"&gt;bet&lt;/a&gt;. All in all it was a pretty good day. If you're looking for the session files, visit &lt;a target="_blank" href="http://www.sqlsaturday.com/eventhome.aspx?eventid=5"&gt;SQLSaturday.com&lt;/a&gt;. &lt;br /&gt;
&lt;br /&gt;
Now back to the subject at hand here. The night before my presentation I went over my session. I used the "Use Rehearsed Timings" in powerpoint. The total time (without questions) was about 35 minutes. The last time I did this session I had about 15 minutes of question and answers. I didn't realize until I got to the event that the sessions were 1 hour 15 minutes long. No big deal I would just let them go early and stick around for any private questions. &lt;br /&gt;
&lt;br /&gt;
I started my session at 3:00... It was over at 3:15... &lt;br /&gt;
&lt;br /&gt;
At around 3:14 I thought "Oh sh**, I'm finished?". I tried to remember if I was missing anything. Nothing came to mind. I was at a complete loss. So my total presentation was 15 minutes long. Hence the term "minuteman". &lt;br /&gt;
&lt;br /&gt;
Luckily at that time, &lt;a target="_blank" href="http://blogs.sqlservercentral.com/andy_warren/default.aspx"&gt;Andy&lt;/a&gt; walked in and saved the session. He started questioning the audience about triggers . He brought &lt;a target="_blank" href="http://kendalvandyke.blogspot.com/"&gt;Kendall Van Dyke&lt;/a&gt; on stage and we did an impromptu panel session. That went over pretty well.&lt;br /&gt;
&lt;br /&gt;
After the session was over I knew what was coming. I got the "That was a huge screw up!" from Andy. Which, of course, it was. The problem I have this time was I had no idea what happened except to say I rushed the presentation. I'm not sure where I lost all of that time though. Surely I was talking like the &lt;a target="_blank" href="http://www.youtube.com/watch?v=j2egGfd5j_k"&gt;micro machines dude&lt;/a&gt;. No one complained about anything else except to say my presentation was too short. &lt;br /&gt;
&lt;br /&gt;
So the lesson from all of this is have enough content to cover your session... or talk really slow and take pauses if you don't. Just another lesson along the way for me.&lt;img src="http://rocksthoughts.com/blog/aggbug/47.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Chris Rock</dc:creator>
            <guid isPermaLink="false">http://rocksthoughts.com/blog/archive/2008/06/09/minuteman.aspx</guid>
            <pubDate>Mon, 09 Jun 2008 15:39:39 GMT</pubDate>
            <wfw:comment>http://rocksthoughts.com/blog/comments/47.aspx</wfw:comment>
            <comments>http://rocksthoughts.com/blog/archive/2008/06/09/minuteman.aspx#feedback</comments>
            <slash:comments>3</slash:comments>
            <wfw:commentRss>http://rocksthoughts.com/blog/comments/commentRss/47.aspx</wfw:commentRss>
        <feedburner:origLink>http://rocksthoughts.com/blog/archive/2008/06/09/minuteman.aspx</feedburner:origLink></item>
        <item>
            <title>I WON!</title>
            <category>Personal</category>
            <category>Stuff</category>
            <link>http://feedproxy.google.com/~r/RocksThoughts/~3/MFdjGwOKeFQ/i-won.aspx</link>
            <description>&lt;p&gt;Ok... So it didn't come in a package marked "Fragile" (must be italian) but never the less, I did win a prize from &lt;a target="_blank" href="http://community-credit.com/"&gt;community-credit.com&lt;/a&gt;. A pair of usp soft monkey speakers (pictures below). &lt;/p&gt;
&lt;p&gt;It's an interesting site if you never been to it before. Basically if you do something for the community (teach at an event, help on forums, write a blog post, etc) you get points for it. &lt;br /&gt;
&lt;br /&gt;
I ended up with the 13th most points in March and won a pretty cool set of monkey speakers. My youngest daughter wanted to chew on them but I ended up taking them to work.&lt;br /&gt;
&lt;br /&gt;
Here is the package:&lt;br /&gt;
&lt;br /&gt;
&lt;img alt="" src="http://i32.tinypic.com/2rroxfq.jpg" /&gt;&lt;br /&gt;
&lt;br /&gt;
Here they are at my desk at &lt;a target="_blank" href="http://www.endtoendtraining.com"&gt;work&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;img alt="" src="http://i29.tinypic.com/2dbjvb7.jpg" /&gt;&lt;br /&gt;
&lt;br /&gt;
Close up&lt;br /&gt;
&lt;br /&gt;
&lt;img alt="" src="http://i26.tinypic.com/33djnlt.jpg" /&gt;&lt;br /&gt;
&lt;br /&gt;
Pretty cool eh? Thank you to David Silverlight over at community-credit.com!&lt;/p&gt;&lt;img src="http://rocksthoughts.com/blog/aggbug/44.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Chris Rock</dc:creator>
            <guid isPermaLink="false">http://rocksthoughts.com/blog/archive/2008/06/02/i-won.aspx</guid>
            <pubDate>Mon, 02 Jun 2008 15:23:31 GMT</pubDate>
            <wfw:comment>http://rocksthoughts.com/blog/comments/44.aspx</wfw:comment>
            <comments>http://rocksthoughts.com/blog/archive/2008/06/02/i-won.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://rocksthoughts.com/blog/comments/commentRss/44.aspx</wfw:commentRss>
        <feedburner:origLink>http://rocksthoughts.com/blog/archive/2008/06/02/i-won.aspx</feedburner:origLink></item>
    </channel>
</rss>
