Checkbox in command grid

I have a command grid control, and i add a checkbox in every row
for r=1 to 10
grid1.setValue(r,1,“input type=‘checkbox’ name='cb” & r & “_2’”) 'with < > before and after
next

how can i get the grid check box which have been checked?

Thanks
Teo