This can be done through Javascript. if your check box is checked, make the value As 'Y' , If it is not checked make the value of the check box as 'N', when you submit the form. The same values will get updated to the database. while you are retrieving from the database you have to check for 'Y' to check the check box.