Monday, October 27, 2014

i cant figure out the last little bit of this problem.

Hey Lyndsee


I don't fully understand your posted code, on the event SelectedIndexChanged with the ComboBox control. You create a string and give it as value the text within the ComboBox. So that's okay but i don't understand what you're doing with that value, was the "shippingMethod" value meant as a public value? And each time the button is pressed the private value "shippingMethod" gets created and set to SSM. And then the value is run through a switch but each time the button is pressed the "shippingMethod" value gets set to SSM so the switch is to no use. If you want to change the "shippingMethod" outside the Button_Click Event you need to create a value that accesable throughout the whole class.


Hope this helps! If this doensn't answer your question, please do ask for help :)


Regards Bram


P.S. Sorry for my bad englisch


No comments:

Post a Comment