M
Microsoft Newsserver
Hi,
Im having a bit of difficulty working out how to do the following.
method ( paramType? param1, DateTime? requiredByDate , paramType? param3)
I have a row property which I need to pass to this method, this has a
property of IsNull which is a boolean, so I tried to do the following
method ( param1,
row.IsRequiredByDateNull() ? null, row.RequiredByDate,
param3 )
This fails on compile because it cant cast from a null to a DateTime.
How can i construct this ?
Im having a bit of difficulty working out how to do the following.
method ( paramType? param1, DateTime? requiredByDate , paramType? param3)
I have a row property which I need to pass to this method, this has a
property of IsNull which is a boolean, so I tried to do the following
method ( param1,
row.IsRequiredByDateNull() ? null, row.RequiredByDate,
param3 )
This fails on compile because it cant cast from a null to a DateTime.
How can i construct this ?