PDA

Click to See Complete Forum and Search --> : radio button list


venerable bede
Dec 4th, 2003, 08:46 AM
I have a radio button list

value = 1, text = "Option 1"
value = 2, text = "Option 2"

It might soung stupid but how do I get the first item to display if I enter the number 1 and the second item if I enter the number 2.

Cheers Big Ears

indydavid32
Dec 4th, 2003, 09:01 AM
RadioButton1.SelectedIndex = 1
RadioButton1.SelectedIndex = 2