Spot the Bug! – The Key to using Anonymous Types (Jonathan Aneja)

This one’s going to be long, but for those of you who’ve felt the first 3 in this series were too easy I promise this one’s tougher J.   Let’s say you want to list all the customers from a table in a ComboBox, and update the UI based on which one is selected.  To… Read more

Dynamic Searching using LINQ – Dataset + Joins

About two years ago I posted some code that shows how to dynamically construct LINQ queries at runtime.  On average there’s a couple questions per month about trying it in some edge case, and usually the support already exists within the API.  Recently though someone posted a question that has to do with Datasets and… Read more

VB XML Cookbook, Recipe 6: Writing an XSLT Transform in VB (Doug Rothaus)

Most XSLT programmers are familiar with this XSLT transform to copy an XML file. <?xml version=“1.0“ encoding=“utf-8“?> <xsl:stylesheet version=“1.0“ xmlns:xsl=“http://www.w3.org/1999/XSL/Transform“>     <xsl:output method=“xml“ indent=“yes“/>       <xsl:template match=“@* | node()“>         <xsl:copy>             <xsl:apply-templates select=“@* | node()“/>         </xsl:copy>     </xsl:template> </xsl:stylesheet> This XSLT is commonly used for identity transforms as it allows you to… Read more

VB 2008 Language Deep Dive – Presentation Materials (Jonathan Aneja)

Last week I got the chance to visit the Toronto .NET User Group and give a talk on all the great new language features in VB2008.  It was great to see so much excitement around LINQ and especially XML Literals!   The slides and demo code are posted at the link below; here’s the session… Read more

VB 2008 IDE Tips & Tricks Presentation Materials (Lisa Feigenbaum)

Last week I went on a user group tour around Southern California. I’ve uploaded the materials from my talk: Powerpoint presentation Solution at the Start of the Demo Solution at the End of the Demo You can find these all posted together on the following Code Gallery page. The demo requires installation of Refactor!, which… Read more