Main Page | Report this Page
.NET DotNet Forum Index  »  Visual C# Forum  »  Problem using switch/case with radio buttons in C#...
Page 1 of 1    

Problem using switch/case with radio buttons in C#...

Author Message
Jordan Parmle...
Posted: Tue Oct 27, 2009 11:01 pm
Guest
Hi,

I'm having a problem doing a switch/case statement for my radio button(s). The gist of the program is to have the user select any two radio buttons from 2 group boxes with 10 radio buttons in each group box. The user picks 1-10 on how good the quality of the product was, then the program will add all the tallies up and give the results on a separate form.

I can use if/else to finish this but I'd rather figure it out using a switch statement - no matter how difficult this is.

How would I go about doing this? Since the only radio buttons on the form are in group boxes is there a way I can go about using that to my advantage?

Thanks to anyone who takes the time to help me out with this problem.

From http://www.developmentnow.com/g/36_0_0_0_0_0/dotnet-languages-csharp.htm

Posted via DevelopmentNow.com Groups
http://www.developmentnow.com/g/
 
 
Page 1 of 1    
All times are GMT - 5 Hours
The time now is Mon Nov 30, 2009 3:03 am