日期:2014-05-17  浏览次数:20468 次

CheckBox 后台Enabled属性设置为false,页面上控制它选中后台循环到Enabled等于false的checked时checked等于false
现在我想得到选中行的数据,循环到它选不中无法得到数据

------解决方案--------------------
你可以使用js控制只读

<input id=x type=checkbox onclick="this.checked=!this.checked">

------解决方案--------------------
Repeater可以在绑定事件里
FindControl,找到然后
Attributes.Add("onclick","this.checked=!this.checked")