radioButton 取值 radioButton1,radioButton2如何设置radioButton的取值 取的时候怎么取?本人初学C# 不会 大家给讲讲 在线等 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 取值?是确定选中状态吗?用 radioButton1.Checked返回的是bool值 你可以把它的值放到radioButton里的Tag属性里!如果选中了(radioButton.Checked==true)时取Tag里的值就好了! 取什么值?无非是选中还是未选中吧..参见RadioButton的Checked属性.. 是啊,radiobutton 的checked属性啊,他是个bool值,true为选中,false为未选中 楼主估计是要问如何将两个radiobutton关联起来 把RadioButton的 GroupName属性设为同一个 RadioButton 有两中状态。Checked 为 true 或者 false;用RadioButton.Text能取到显示的值。 RadioButton的 GroupName属性怎么设置啊 ? if(radioButton1.Checked){...}else{...} if(RadioButton1.checked) string Values=Radio.Button1.text; SL下"ComboBox"的“四种使用方式”,谁能给答案??? 如何在插入后获得自增ID? 关于在picturebox中显示数据库中指定行image变量所遇到的困难! 高手请进:急急急,在线等!!! C#中int与integer的区别 [求助]在asp.net(C#) windows应用程序中如何屏蔽【ctrl+空格键】 请问如何遍历用户控件里的Checkbox? 一个算法问题。 为什么找不到存储过程(急!!C#)?? CRC校验改写 关于新浪那个woocall的问题 datagridview 保存数据
是确定选中状态吗?
用 radioButton1.Checked
返回的是bool值
如果选中了(radioButton.Checked==true)时取Tag里的值就好了!
GroupName属性设为同一个
GroupName属性怎么设置啊 ?
{
...
}
else
{...}
string Values=Radio.Button1.text;