Tuesday, September 1, 2009

Working with null values in the .NET Framework

The following article was useful in figuring out how C# and VB.NET uses null and DBNull.Value differently. For C# is just "null", but for VB.NET, it's a littl tricky. Thanks TechRepublic!

Takeaway: Dealing with null or nonexistent data in application development can be tricky. Tony Patton takes a closer look at working with null values within the .NET Framework.
One of the trickier aspects of application development is dealing with null or nonexistent data. It gets complicated when the application expects a data value and gets nothing or unexpected values; that's when you must perform coding that properly handles these situations to avoid application failure. This requires a close examination of the data wherever and whenever it's needed. Let's take a closer look at working with null values within the .NET Framework.


http://articles.techrepublic.com.com/5100-10878_11-5764862.html

No comments: