How to show checked check box value after reloading the page in dhtml?

Hi,
The below code for dhtmlxgrid. I am getting reserve codes from the sqlserver database. But how to show checked check box value after reloading the page in dhtml?(i.e.firs t time if checked appropriate check box, then if I see next time it should be checked by default and checked check box value should be saved into sql server database. This is my exact...