首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > C# >

radioButton 取值解决思路

2012-02-16 
radioButton取值radioButton1,radioButton2如何设置radioButton的取值取的时候怎么取?本人初学C#不会大家

radioButton 取值
radioButton1,radioButton2
如何设置radioButton的取值   取的时候怎么取?
本人初学C#   不会   大家给讲讲     在线等

[解决办法]
if(radioButton1.Checked)
{
...
}
else
{...}


[解决办法]
if(RadioButton1.checked)
string Values=Radio.Button1.text;

热点排行