Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pet Peeves with .NET
Message
From
29/12/2003 11:38:53
Keith Payne
Technical Marketing Solutions
Florida, United States
 
 
To
28/12/2003 10:00:36
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00830196
Message ID:
00862536
Views:
16
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform