You calling CheckBox_CheckChanged event in dgrvProductTemplate_EditingControlShowing event.
So do the opposite.
private void ck_CheckedChanged(object sender, EventArgs e)
{
try
{
CheckBox chk = new CheckBox();
chk = sender as CheckBox;
if (chk.Checked == true)
{
dgrvProductTemplate[0, 1].Value = true;
}
else
{
dgrvProductTemplate[0, 1].Value = false
}
catch (Exception ex)
{
}
}
-KR