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

asp.net(C#)中ListView控件中CheckBox的全选、反选怎么实现?求大神指点。
<asp:ListView runat="server" ID="ListView1" >
                        <LayoutTemplate>
                            <table>
                                <thead>
                                    <tr>
                                        <th style="width:60px;">
                                              <asp:CheckBox ID="CheckBox_All" OnCheckedChanged="CheckBoxAll"  runat="server" Text="全选" AutoPostBack="True" /> 
                                        </th>
                                        <th style="width:100px;">员工编号</th>
                                        <th style="width:180px;">姓名</th>
                                        <th style="width:60px;">性别</th>
                                        <th style="width:200px">部门</th>
                                        <th style="width:200px">职务</th>
                                    </tr>
                                </thead>
                      &n