I am simply trying to run a comparison on the value entered into a textbox. I want the comparison to not care about the case in which the value was entered. ("OPEN" vs "open") So my comparison currently looks like this:
if (textbox1.text == 'open')
do this logic
How do I make it case insensitive ? I have read I can use String.Compare to do this. But I can't seem to find the correct syntax. Any help would be greatly appreciated.