/// <summary> /// Tests if string representation of data is empty /// </summary> /// <param name="input"></param> /// <returns></returns> public static Boolean IsValueEmpty(this String input) { Boolean returnValue = false; if (String.IsNullOrEmpty(input)) returnValue = true; else { if ("false" == input.ToLower()) // Boolean false returnValue = true; else { Double testValue; if (Double.TryParse(input, out testValue) && 0 == testValue) returnValue = true; } } return returnValue; }