<asp:DataList ID="dlNews" runat="server">
<HeaderTemplate></HeaderTemplate>
<ItemTemplate>
<asp:CheckBox ID="CheckBox1" runat="server" AutoPostBack="true" OnCheckedChanged="CheckBox1_CheckedChanged" />
</ItemTemplate>
<HeaderStyle HorizontalAlign="Center" />
</asp:DataList>
**只要将CheckBox的AutoPostBack属性如上勾选即是,然后再在后台编写函数
转载于:https://my.oschina.net/sxq0714/blog/63205