1
내 girdview의 모든 체크 박스 열을 체크하거나 체크하지 않은 헤더를 체크하는 방법을 찾고 있습니다.Mvc 체크 박스로 콘트 리뷰 게시
<table class="grid">
<th><input type="checkbox" name="chkall"/></th>
<th>Name</th>
<tr>
<td>
<input type="checkbox" id="chkItem_1"/>
</td>
<td>
Category 1
</td>
</tr>
<tr>
<td>
<input type="checkbox" id="chkItem_2"/>
</td>
<td>
Category 2
</td>
</tr>
</table>
DoNotEncode()가 사용되지 않습니다. 대신 Encode (false)를 사용하십시오. – Eldar