Issue with Nullable<DateTime>
Posted: Thu May 12, 2011 7:39 am
Hello,
As a way, in this case you can use the following code:
instead
Thank you.
As a way, in this case you can use the following code:
Code: Select all
if ( MyData["Birthday"] == DBNull.Value )
Code: Select all
if( !MyData.Birthday.HasValue )