日期:2014-05-17 浏览次数:20429 次
for(int i=0;i<RadioButtonList1.Items.Count;i++) { if(this.RadioButtonList1.Items[i].Text==oneText) { RadioButtonList1.Items[i].Selected=true; } }
------解决方案--------------------
for (int i = 0; i < this.RadioButtonList1.Items.Count; i++) { if (this.RadioButtonList1.Items[i].Text = "f") { this.RadioButtonList1.Items[i].Selected = true; } }