Can someone tell me how to retrieve data from table and display it as checkboxes.