2011年4月21日

ListControl数据绑定时所出现的问题

摘要: 最近在做webform开发的时候用到了RadioButtonList的数据绑定的功能。由于SelectedValue属性是支持TwoWay数据绑定的,所以可以使用Bind方法进行双向绑定。虽然在Visual Studio的智能提示中没有出现SelectedValue,但是仍然是可以使用的。在使用Reflector或者ILSpy查看ListControl(RadioButtonList继承自ListControl)的SelectedValue属性就可以证明这一点。// System.Web.UI.WebControls.ListControl[Bindable(true, BindingDire 阅读全文

posted @ 2011-04-21 09:32 Edward.Net 阅读(387) 评论(0) 推荐(0) 编辑

导航