Deborah's Developer MindScape

         Tips and Techniques for Web and .NET developers.

Archive for October, 2010

October 30, 2010

SelectMany: Finding in a Child List

Filed under: C#,Lambda Expressions,VB.NET @ 11:44 pm

In this prior post, I demonstrated how to find a specific item in a generic list of items. But what if the item you want to find is in a child list? For example, a list of customers where each customer is a company that has a company name and a list of contact persons. […]

Building a List of of Items with Child Items

Filed under: C#,VB.NET @ 7:46 pm

In this prior post, I demonstrated how to build a generic list of items. The example built a list of individual customers. This post demonstrates how to build a generic list of items where one of those items is another generic list. In this example, the customer is no longer a single person, but rather […]

Setting Break Points in the Call Stack Window

Filed under: C#,Debugging,VB.NET,Visual Studio @ 10:37 am

As you are debugging your application, you may want to set a break point further down the call stack. One way to do this is to double-click on the row in the Call Stack to navigate to the code, and then insert a breakpoint. But there is an easier way. NOTE: For an introduction to […]

Using the Call Stack Window

Filed under: C#,Debugging,VB.NET,Visual Studio @ 10:23 am

The complexities of today’s software are better managed used techniques such as layered architectures, object-oriented programming, separation of concerns, MVC, and MVVM to name a few. All of these techniques require that your application be separated into logical units, which means that to perform any task, your code needs to call other pieces of code. […]

Sorting Lists with Null Values

Filed under: C#,Lambda Expressions,VB.NET @ 2:04 am

When working with data, you often have values that are null. For example, you may allow entry of a user’s birthday, but not require entry. So some of your rows may contain a null date. Or your application may track a customer’s last order date, which will be null if you track potential customers that […]

October 29, 2010

Using Enter Key as a Tab

Filed under: C#,VB.NET,WinForms @ 1:51 am

A common question on the forums is how to use the Enter key instead of the Tab key to move through the controls on a Windows form. One common approach is to use SendKeys to send a Tab. But here is another option. NOTE: To use this technique, set the KeyPreview property of the form […]

October 8, 2010

Silicon Valley Code Camp 2010: Source Code for My Talks

Filed under: General @ 5:25 pm

In this prior post, I provided information on registering for the Silicon Valley Code Camp on October 9 and 10, 2010 and on the talks I am presenting at that code camp. If you would like the source code for my two talks, you can get it all from my company’s Web site. Enjoy!

© 2014 Deborah's Developer MindScape   Provided by WPMU DEV -The WordPress Experts   Hosted by Microsoft MVPs

Network-wide options by YD - Freelance Wordpress Developer