Chapter 5 Exercise 2
I have a question about this exercise. In the exercise you have to create a boolean variable and set the default value to True. As you continue, once you bind the data to the combo box, you set the value of the boolean variable to False. Why is it that when I go to the SelectedValueChanged event of my comboBox, the code will not work unless I have some kind of If statement on top? It shouldn't whether I have that variable or not, the code should still work. I'm I missing something about the SelectedValueChanged event that I should be aware of?
|