Travis,
While I don't like it, for typed data sets, you have to use the
Is<column>Null property to determine if the value in a particular column is
null. It sucks, trust me.
If you are checking against a value in a plain old data row, then you
can check against the static Value field on the DBNull class. If the value
in the field is null, then it will return true when compared to that.
Otherwise, you can get your scalar value.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
<je**********@gmail.comwrote in message
news:3a**********************************@r60g2000 hsc.googlegroups.com...
Hello:
Is there a way to handle null values for ints, DateTime, etc. in
generated DataTables?
It seems it is not something the Microsoft crew thought of. That is
hard for me to believe.
Thanks,
Travis