C# Class VolTeer.App_Code.cCommonFunctions

Mostrar archivo Open project: CISC181/VolTeerNET

Public Methods

Method Description
HandleDBNull ( object obj ) : string

If the object that's passed is null, or is an invalid reference, return a string.empty

SetNullIfEmpty ( object obj ) : string

If the object that's passed is a string.empty, return a null

Method Details

HandleDBNull() public static method

If the object that's passed is null, or is an invalid reference, return a string.empty
public static HandleDBNull ( object obj ) : string
obj object
return string

SetNullIfEmpty() public static method

If the object that's passed is a string.empty, return a null
public static SetNullIfEmpty ( object obj ) : string
obj object
return string