How to get Id from gridview

I have CgridView with checkbox.If I select checkbox and then I click create Button I want to get Id customer to save in anther table. But I don’t know how to do it.Plz help me!!