Please tell us more about it.
Which values would you like to save (insert) into DB? From selected row or some else?
Would you like to insert as soon as you check some checkBox, or after checking some of the checkBoxes and do the insert on a button click?
There is plenty you have to tell us - in details, if you want us to help you.