you need to use proper index of GridView column.
In your case the index should be 0.
Change this line :
GridView1.rows[i].cells[3].getElementsByTagName("INPUT")[0].checked = Checkbox.checked;
with this
GridView1.rows[i].cells[0].getElementsByTagName("INPUT")[0].checked = Checkbox.checked;
let me know if it works for you!