编码插入选定的检查项目 [英] Codings To Insert The Selected Check Item

查看:51
本文介绍了编码插入选定的检查项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



现在我正在做一个简单的项目。为此,我想将个人的

性别插入数据库中(我使用了两个清单,一个是forMale,另一个是女性)。所以我希望编码将清单项插入数据库表。所以请帮助我任何一个。

hi
Now im doing one simple project.For that I want to insert the
gender of the individuals into the database( i used two checklist one is forMale,another one is for Female).So i want the codings to insert the checklist Item into the database table. So kindly help me any one.

推荐答案


hi

现在我做一个简单的为此,我想将个人的

性别插入数据库(我使用了两个清单,一个是forMale,另一个是女性)。所以我希望编码插入清单项目进入数据库表。所以请任何人帮助我。
hi
Now im doing one simple project.For that I want to insert the
gender of the individuals into the database( i used two checklist one is forMale,another one is for Female).So i want the codings to insert the checklist Item into the database table. So kindly help me any one.



您可以在列表中使用CheckBox的布尔值并将其存储在数据库中


You can use a Boolean value of the CheckBox in the list and store it in the Database


hi

我无法理解。请用正确的解释给我带来好处

和编码。

hi
I couldn''t understand.So kindly peply me with the proper explanation
and codings.


您可以在列表中使用CheckBox的布尔值并将其存储在Database
You can use a Boolean value of the CheckBox in the list and store it in the Database



hi

我无法理解。所以请给我一个正确的解释

和编码。
hi
I couldn''t understand.So kindly peply me with the proper explanation
and codings.



使用复选框时,你必须勾选任何一个复选框,当检查其他复选框时,它应该取消选中



Private Sub ChkFemale_Click()

ChkMale.Value = IIf(ChkFemale.Value = 1,0,1)

End Sub


私人子ChkMale_Click()

ChkFemale.Value = IIf(ChkMale.Value = 1,0,1)

End Sub

While using check box you have to make any one check box to be checked, when check other then it should be Uncheck


Private Sub ChkFemale_Click()
ChkMale.Value = IIf(ChkFemale.Value = 1, 0, 1)
End Sub

Private Sub ChkMale_Click()
ChkFemale.Value = IIf(ChkMale.Value = 1, 0, 1)
End Sub


这篇关于编码插入选定的检查项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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