Computing.Net > Forums > Programming > Assigning values to radio buttons?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Assigning values to radio buttons?

Reply to Message Icon

Name: Rashar
Date: May 19, 2006 at 10:07:13 Pacific
OS: WIN XP
CPU/Ram: 1.8 gig /512 DDR
Comment:

Hi,

How do I assign a value to checkboxes or radio buttons contained in a groupbox control in VB.NET?

I would like to use a Select Case statement to assign the values as such:

Select Case GroupBox1

Case 1
radiobuttonYes value = 1

Case 2
radiobuttonNo value = 0

End Select

In VB6 from what I could remember, you could add a value to a radio button or checkbox at design time...

Thanks.



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


VB6 - Inputbox .exe to java



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Assigning values to radio buttons?

Assigning a value to a control (C#) www.computing.net/answers/programming/assigning-a-value-to-a-control-c/12604.html

html form - radio button & images www.computing.net/answers/programming/html-form-radio-button-amp-images/6773.html

VBA List Box or radio buttons www.computing.net/answers/programming/vba-list-box-or-radio-buttons/16869.html