[IronPython] Should DBNull treat as false ?
Davy Mitchell
daftspaniel at gmail.com
Thu May 15 10:48:37 CEST 2008
DBNull is a type. Appears all .Net types evaluate to False.
e.g.
from System import DBNull, Char
print Char==True
print DBNull==True
both will print False.
On Thu, May 15, 2008 at 9:09 AM, Sakesun Roykiattisak <
sakesun at boonthavorn.com> wrote:
>
> Should DBNull treat as False ?
>
> Just a thought.
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
--
Davy Mitchell
Blog - http://www.latedecember.co.uk/sites/personal/davy/
Twitter - http://twitter.com/daftspaniel
Skype - daftspaniel http://needgod.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20080515/ff7c6672/attachment.html>
More information about the Ironpython-users
mailing list