conversion help

a8le

Well-known member
Joined
Oct 27, 2005
Messages
75
Programming Experience
5-10
hi all,

why doesn't this work?...

VB.NET:
Dim datExpiryDate As Date = Convert.ToDateTime(Null.SetNull(datExpiryDate))

I get this error...

Value of type 'Date' cannot be converted to 'System.Reflection.PropertyInfo'.

Thanks in advance,
a8le

 
conversion

VB.NET:
Dim datExpiryDate As Date = Convert.ToDateTime(Null.SetNull(datExpiryDate))

well, what i think i am doing is converting an instance of datExpiryDate to a to dateTime, even if it is set to NULL.
 
Back
Top