Problem with combo boxes using Visual C# with .NET

Problem with combo boxes using Visual C# with .NET

I'm just starting using Visual C# with .NET to try to write a front-end for an Access DB. I have three combo boxes which should be 'Yes/No'. Problem is that if I change value in one, they all change! Any ideas?

    Requires Free Membership to View

    When you register, you'll begin receiving targeted emails from my team of award-winning writers. Our goal is to keep you informed on recent service-oriented architecture (SOA) and SOA-related topics such as integration, governance, Web services, Cloud and more.

    Hannah Smalltree, Editorial Director

    By submitting your registration information to SearchSOA.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchSOA.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

I am a bit confused here. Do you mean combo box, check box or radio button? Typically for yes/no answers, one would use a checkbox. Radio buttons work in groups. If you place several radio buttons on a form, they are part of a group based on the form. Only one will be selectable at a time. Use a GroupBox to organize radio buttons into groups.

Checkboxes are usually used to provide a Yes/No response. They tend to be easier to use and understand than having a series of drop-down combo boxes.

As to your specific question, without the code for the form I can't tell you why that behavior may be occurring.

This was first published in July 2002