BBetances Mon, 02 Feb 2009 09:19:05 -0800
To check if a value is null with DBNull, you can also use DBNull.Value.Equals(o)
that should handle the casting for you.