只能选择GridView中的一个CheckBox(单选CheckBox)
摘要:
方法一:View Code protected void GridView2_RowDataBound(object sender, GridViewRowEventArgs e) { CheckBox cbx = e.Row.FindControl("cbID") as CheckBox; try { //绑定选中CheckBox 客户端ID cbx.Attributes.Add("onclick", "Change(" + cbx.ClientID + ")"); } ... 阅读全文
posted @ 2011-06-20 11:33 MyBeN 阅读(2733) 评论(0) 推荐(0) 编辑