c# - RadioButtonList Choosing specific index -
I'm having trouble writing an I statement with the selected index of the radion button list. Below I have my code.
If (radio button list selected value = 1) {//}} I have a radio boot list with three separate indexes I can say something like this if selectedvalue = index [1]?
Try it
To set the index:
radio button list. Selected index = index;
To set the value:
Radio Button List. Selected Values = Val; To check the selected index,
code
if (radio button.list.selected index = = Index) {}
< if (radio button list. Select value == well) {}
Comments
Post a Comment