Hi…
Using if condition
var ==System.Nullable<System.DateTime>
Assign Closed_Date =If( String.IsNullOrEmpty(Exl_Closed_Date.ToString),System.Convert.ToDateTime(DBNull.Value), DateValue(Exl_Closed_Date))
Error
Assign: Object cannot be cast from DBNull to other types.
Thanks
Shyam