C# Class VolTeer.App_Code.cCommonFunctions

Afficher le fichier Open project: CISC181/VolTeerNET

Méthodes publiques

Méthode 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 méthode

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
Résultat string

SetNullIfEmpty() public static méthode

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