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

Popular posts from this blog

c++ - C/pp Sockets, recv()/send() works only under gdb -

GO: Serve static pages -

objective c - How to open front/back camera at the same time in iOS developing? -