I believe you want to check the OnItemDataBound event of the datagrid. In that event, you would check the value of your checkboxes, and then set them as you need. Just give "OnItemDataBound Checkboxes" a google.
"I would love to change the world, but they won't give me the source code." -unknown