Thursday, 29 July 2010 20:44 by
SyntaxC4
In my early years as a Developer I was using DotNetNuke and often had large Data Access Layers (DALs) to abstract the database away from my application. I quickly found myself checking to ensure that a value returning from the Database wasn’t NULL (\0), so I created a helper class that had a number of methods for each data type I interacted with. This created was done similar to this code below: public static double ConvertNullDoubleobject field)
{
if (field != DBNull.Value)
...
[More]