function checkAll(ChkAll){ var checked = ChkAll.checked; var grid = document.getElementById("dgImport"); var col = grid.getElementsByTagName("INPUT"); for (var i=0;i