Subject | Boolean data type in .NET provider. How? |
---|---|
Author | acegracely |
Post date | 2005-03-18T16:35:37Z |
I have created a domain called D_Boolean which is currently an integer
field allowing only 0 or 1.
When I try the following line in C#
if( (bool)row["show_prices"] )
{
}
It errors.
How should I define my boolean data type in order for this to work?
Regards
field allowing only 0 or 1.
When I try the following line in C#
if( (bool)row["show_prices"] )
{
}
It errors.
How should I define my boolean data type in order for this to work?
Regards