csharp IsNull
static object IsNull(object Value, object DefaultValue)
{
if (Value == null || Value == System.DBNull.Value)
{
return DefaultValue;
}
else
{
return Value;
}
}IsNull in C#
Updated: Friday 1st October 2010, 04:57pm
There are 0 comments
Comments are currently closed.