could someone help me figure out what I am doing wrong. I have tried so many ways and can't get it to work in all cases at same time.
Our symbol devices have multiple firmware versions that cause issues with the wireless card in the device. if the firmware version is 86.09.0000 it will work fine. If the firmware version if anything else "01.09.000" it will cause issues so i have it dump a cab file with factory firmware and reboot device.
Thanks for help, below is working code.
if (checkBox1.Checked && myString == "86.09.0000")
{
//check box checked and correct string
}
else if ((checkBox1.Checked == false) && (myString == "86.09.0000"))
{
//check box not checked and correct string
}
else
{
// string doesn't match
}
I would assume you mean if myString isn't 86.09.0000... Is your final else in the wrong 'if' statement?
Is this possibly what you were trying to accomplish?