如何在数据库表中插入下拉列表checkkobxes和单选按钮的数据? [英] how to insert data of dropdownlist checkkobxes and radiobutton in table of database?
本文介绍了如何在数据库表中插入下拉列表checkkobxes和单选按钮的数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
帮助我..如何在数据库表(SQL)中插入dropdownlist,checkbox,radiobuton的值...(
Help me..how to insert value of dropdownlist ,checkbox , radiobuton in table of databse, (SQL)...
推荐答案
使用位 Sql
中的数据类型
bit 数据类型的值可以为1、0或NULL.它消耗1个字节.
可以将字符串值TRUE和FALSE转换为位值:将TRUE转换为1,将FALSE转换为0.
详细信息此处 [
Use bit datatype in Sql
bit datatype can take a value of 1, 0, or NULL. It consumes 1 byte.
The string values TRUE and FALSE can be converted to bit values: TRUE is converted to 1 and FALSE is converted to 0.
More info here[^].
这篇关于如何在数据库表中插入下拉列表checkkobxes和单选按钮的数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文