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

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -