Hi there,
how do I convert a string to a bool?
I get a string with "0" for false and "1" for true. At the moment I convert it twice, but I think that is not the best way.
Can someone give me a hint?
at the moment I do this:
Code:Convert.ToBoolean(Convert.ToInt32(myString))




Reply With Quote