Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pet Peeves with .NET
Message
De
29/12/2003 11:38:53
Keith Payne
Technical Marketing Solutions
Floride, États-Unis
 
 
À
28/12/2003 10:00:36
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00830196
Message ID:
00862536
Vues:
15
>I don't really see a good reason to cast DBNull to Nothing though ... what does that give you? You still need to test for Nothing, don't you? DBNull and Nothing mean different things, one is a NULL value in a database column, the other means basically that an object hasn't been instantiated ... so, I'm just curious about how you're utilizing this. Maybe I'm missing something useful. <g>
>

When I assign a field value from a DataReader to a property, I get a casting error if I've forgotten to use my nvl() function. I use DataReaders much more than I use DataSets, so I encounter this all the time.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform