string a =RadioButtonList1.SelectedItem .Text
来源:百度知道 编辑:UC知道 时间:2024/06/03 08:41:25
string a =RadioButtonList1.SelectedItem .Text
请问这样的写法对吗?
请问这样的写法对吗?
对的.如果你要取选中项的值就这么写:
this.RadioButtonList1.SelectedValue
可以。。这样取出来的是你选中项的text值。。如果你想取出value值。。如楼上写的
string a =RadioButtonList1.SelectedItem .Text
string a=this.RadioButtonList1.SelectedValue
他是键值队的
看你取的是显示内容 还是取他的键
string a =RadioButtonList1.SelectedItem .Text
如果你要得到显示文本应该是这个呀,他还有一个选择属性string a=RadioButtonList1.SelectedValue
String a=new String();什么时候用到,一般不就是String a 吗?
hanging on a string怎么下载阿
String a="abc"和String a=new String("abc");区别在哪呢?
给String 对象 a 输入回车,a等于多少?
How much does a short?wave radio cost?
You are the password lock which a string cannot open
int a[]={"string"}正确吗?
<hanging on a string> by C21的歌词
String was not recognized as a valid DateTime.
C++ 定义了个string a 输入不能用gets(a)吗?