Greetings.
I have MS SQL server database that content data field of BIT
type.
this field will have either 0
or 1
values to present false and true.
I want when I retrieve the data to convert the value of I got to false
or true
without using if-condition to convert the data to false
if it is 0
or true
if it is 1
.
I'm wondering if there is a function in C# would do this direct by passing bit values to it?