Click here to Skip to main content
15,790,884 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to store multiple checkbox datas in table in sql server 2008? How to create column in a table? Either each column for single checkbox or else same column...? plz anyone help me???
Karthik Harve 29-Nov-11 4:45am    
objective is not very clear. do you want to store boolean values in the sql table..? to which table do you want add columns,,?? can you paste some code...??
Member 8367364 29-Nov-11 5:02am    
I want to store the data of selected checkboxes items in a table.. i want the coding for the same...

1 solution

I would use a column with datatype tinyint where 1 represents checked and 0 unchecked.

An easy way to add colums to your SQL database is to edit your table in SQL Management Studio.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900