For example the following statements will never return true, even when they should.
I need to convert a SQL result to a bool I guess I can just go for it but if it fails there is no way to protect myself.Code:bool n; label1.Text = bool.TryParse(textBox1.Text, out n).ToString();
Am I doing something wrong or is this a bug?




Reply With Quote