多个复选框选择 [英] Multiple Checkboxes Selection

查看:134
本文介绍了多个复选框选择的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在SQL Server 2008的表中存储多个复选框数据?如何在表格中创建列?要么每个列都选中一个复选框,要么是同一列...?请大家帮我吗?

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???

推荐答案

我会使用数据类型为tinyint的列,其中1表示选中,0表示未选中.
向SQL数据库添加列的一种简单方法是在SQL Management Studio中编辑表.
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.


这篇关于多个复选框选择的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆