How to add checkbox in a datagrid?

I want to put a field for checkbox in datagrid which is based on the number of record in database Mysql… how do i make this?/