日期:2014-05-19  浏览次数:20402 次

RadioButtonList问题请高人进来指点一下看看是那里问题!帮顶者有分!
RadioButtonList问题我的RadioButtonList是绑定数据库的!然后程序的有两个Button   一个提交   一个重置   在重置的时候我不想在调用数据库重新绑定RadioButtonList这样占用很多速度!
应该如何做!
我的代码如下
private   void   Op_cz_Click(object   sender,   System.EventArgs   e)
{
Op_name.Text   =   " ";
Op_mq.Text   =   " ";
Op_Email.Text   =   " ";
Op_yj.Text   =   " ";
Op_js.Checked   =   false;
Op_fg.Items[0].Selected   =   true;     //   这样不管用呀!!
Op_sd.Items[0].Selected   =   true;
}


------解决方案--------------------
this.Op_fg.SelectedIndex = 0;
this.Op_sd.SelectedIndex = 0;