How to convert "0" and "1" to false and true
- by Chris
I have a method which is connecting to a database via Odbc. The stored procedure which I'm
calling has a return value which from the database side is a 'Char'. Right now I'm grabbing
that return value as a string and using it in a simple if statement. I really don't like the idea
of comparing a string like this when only two values can come back…