Just place the jQuery code below the GridView
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script type = "text/javascript">
$(function () {
$("[id*=RequiredFieldValidator2]").each(function () {
ValidatorEnable(this, false);
});
});
$("[id*=myCheckBox2]").live("click", function () {
var val = $("[id*=RequiredFieldValidator2]", $(this).closest("tr"))[0];
ValidatorEnable(val, $(this).is(":checked"));
});
</script>