PC Review


Reply
Thread Tools Rate Thread

Best way for compare Nullable Datetimes

 
 
Alhambra Eidos Kiquenet
Guest
Posts: n/a
 
      7th Feb 2008
Hi mister,

I have an object with two properties, of type DateTime? (Nullable).

Which is the best way for comparing ? The value of datetime can be null, and
another value cannot be null, or two values are null, or two values aren't
null.

if (tarea.Fcprioridad < tarea.Fcentrega)

Can I use Comparer ??
thanks in advance. Greetings.

--
http://www.alhambra-eidos.es/web2005/index.html
www.kiquenet.net
http://www.setbb.com/putainformatica...opic.php?p=843
www.trabajobasura.com/solusoft

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between nullable class and nullable<> structure Raj Microsoft C# .NET 31 19th Oct 2009 11:01 PM
day-difference between 2 datetimes Daves Microsoft C# .NET 4 15th Sep 2006 01:26 PM
nullable types. why no support for nullable string Sakoulakis Microsoft C# .NET 3 6th Aug 2004 03:41 PM
VS.NET and DateTimes? Bug in VS.NET? Siegfried Heintze Microsoft ADO .NET 3 17th Mar 2004 08:01 AM
Problem with datetimes in SQL CE.Need help. jorgeo Microsoft Dot NET Compact Framework 4 1st Aug 2003 08:42 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:26 AM.