<script type="text/javascript">
var hide1 = true;
function hideColumn1(tableId, colIndex) {
var table = document.getElementById(tableId);
if (table != null) {
for (i = 0; i < table.rows.length; i++) {
if (hide1)
table.rows[i].cells[colIndex - 1].style.display = 'none';
else
table.rows[i].cells[colIndex - 1].style.display = '';
}
hide1 = !hide1;
}
</script>
<asp:repeater id="rpt" runat="server" >
<headertemplate>
<table id="myTable" >
<tr>
<th >
</th>
<th >
</th>
.
.
.
</tr>
</table></headertemplate></asp:repeater>
<input id="Checkbox1" type="checkbox" önclick="hideColumn1('myTable', 1)" runat="server" checked="checked" />
<input id="Checkbox1" type="checkbox" önclick="hideColumn1('myTable', 2)" runat="server" checked="checked" />
<input id="Checkbox1" type="checkbox" önclick="hideColumn1('myTable', 3)" runat="server" checked="checked" />
.
.
.