J
Jim Heavey
Hello, If you have a method which test field to see if it is a valid date
and either returns a DateTime value which either has a valid datetime or it
has null, how can you test if the value returned is null? I tried and I
get an compile error "Can not be applied to operands System.DateTime and
null?
dtStart != null
I also tried the is operator
dtStart is null
but it does not like this either...
Thanks in advance for your assistance!!!!!!!!!!
and either returns a DateTime value which either has a valid datetime or it
has null, how can you test if the value returned is null? I tried and I
get an compile error "Can not be applied to operands System.DateTime and
null?
dtStart != null
I also tried the is operator
dtStart is null
but it does not like this either...
Thanks in advance for your assistance!!!!!!!!!!