datalist多行复选框的选择
<td width="100">
<asp:CheckBox ID="CheckBox0" Checked='<%# Eval("Power_Select").ToString().Trim()=="0" || Eval("Power_Select").ToString().Trim()==""?false:true %>' runat="server" />
</td>
<td width="80">
<asp:CheckBox ID="CheckBox1" Checked='<%# Eval("Power_Alter").ToString().Trim()=="0" ||Eval("Power_Select").ToString().Trim()==""?false:true %>' runat="server" />
</td>
<td width="80">
<asp:CheckBox ID="CheckBox2" Checked='<%# Eval("Power_Add").ToString().Trim()=="0" ||Eval("Power_Select").ToString().Trim()==""?false:true %>'
runat="server" />
</td>
<td width="80">
<asp:CheckBox ID="CheckBox3" Checked='<%# Eval("Power_Delete").ToString().Trim()=="0" ||Eval("Power_Select").ToString().Trim()==""?false:true %>'
runat="server" />
</td>
<td width="100">
<asp:CheckBox ID="CheckBox4" Checked='<%# Eval("Power_Stamp").ToString().Trim()=="0" ||Eval("Power_Select").ToString().Trim()==""?false:true %>'
runat="server" />
</td>
<td width="80">
<asp:CheckBox ID="CheckBox5" Checked='<%# Eval("Power_Review").ToString().Trim()=="0" ||Eval("Power_Select").ToString().Trim()==""?false:true %>'
runat="server" />
</td>
<td width="100">
<asp:CheckBox ID="CheckBox6" Checked='<%# Eval("Power_NReview").ToString().Trim()=="0" ||Eval("Power_Select").ToString().Trim()==""?false:true %>'
runat="server" onclick="SelectHang(this)" />
</td>
截图
想要实现JS 选择CheckBox6那CheckBox6对应的那行全部checkbox全部选中! js asp.net html checkbox
补充:.NET技术 , ASP.NET