Visual Basic Blog

A group blog from members of the VB team

TableAdapter and Multiple Result Sets

Several people asked me whether TableAdapter can be used to retrieve multiple result sets from stored procedures. The quick answer is... No, you can't do that with TableAdapter.Fill() method that gets generated as a part of Typed Dataset. But there's a very simple work-around. DataAdapter.Fill() & Multiple Result Sets TableAdapter.Fill() ...

New Data Tools Features in Visual Studio Orcas

Here's a list of new data tools features in Visual Studio. I will be discussing each one in more detail in upcoming posts. Object Relational Designer The object relational mapping technology lets you map relational databases to objects. Once the mapping is done, you can manipulate mapped objects as normal objects and easily submit changes ...

Fun with card tricks (Matt Gertz)

Back when I first started writing code, I got interested in game writing, and was fairly sure I could write out text-based games as well as the other offerings one could find on mainframes and, later, on the Commodores/TRS/Apples of the day.   The flow of those games were really very easy – you’d present a block of text to the ...

Extension Methods Best Practices (Extension Methods Part 6)

This is the sixth installment in my series of posts about extension methods. You can find links to the rest of the series here. Today I am going to talk about some best practices for using extension methods. Most of this content is geared toward authors of class libraries designed for wide spread consumption. Developers of such libraries often...

Making your VB code ready to go global (Matt Gertz)

Greetings, all! I’m Matt Gertz, the Dev Manager for Visual Basic team.  I’ve been on the team for a bit over 12 years, via the Blackbird/Visual InterDev side of the product, and in that time have been a dev on various features (mostly IDE-related), dev lead of deployment, dev lead of compiler, and box lead before my current ...