protected void chk全部_CheckedChanged(object sender, EventArgs e)
{
if (chk全部.Checked == true)
chk局部.Checked = false;
}
我是初学者,请指教。谢谢!
------解决方案--------------------------------------------------------
这个CheckBox的autopostback属性设为true了吗?
------解决方案--------------------------------------------------------
- C# code
<asp:DropDownList ID="DropDownList1" AutoPostBack="true" runat="server"> </asp:DropDownList>