This project is read-only.

DotNetLib.ObjectExtensions

Variety of helper methods and extensions to assist when dealing with objects.

IsNullOrDBNull (extensions)

Checks any object to see if it is null or DBNull
object obj = null;
bool isNull = obj.IsNullOrDBNull();
// isNull will be true here

obj = "test";
isNull = obj.IsNullOrDBNull();
// isNull will be false here
Home

Last edited Oct 9, 2010 at 5:58 AM by joshucar, version 1

Comments

No comments yet.