Example #1
0
        private static bool VerifyDateTimeNullable(string value, out string message)
        {
            if (value.Trim().Length == 0)
            {
                message = "";
                return(true);
            }

            return(CellCheckerFactory.VerifyDateTime(value, out message));
        }
Example #2
0
 public static CellChecker StringChecker(int maxLength, bool allowNull)
 {
     return(CellCheckerFactory.StringChecker(maxLength, allowNull ? 0 : 1));
 }