How we send check box’s value to data base in VB.NET?

10 pts.
Tags:
CheckBox
Database programming
VB.NET
VB.NET 2003
Visual Basic .NET
How we send check box's value to data base in vb.net?

Answer Wiki

Thanks. We'll let you know when a new response is added.

Typically a checkbox will be stored as a boolean value in the database. The datatype within SQL Server is called BIT. It accepts 0 or 1 as the value. Normally 0 is unchecked (false) and 1 would be checked (true)
*****************************************************************
<a href=”http://www.dreamincode.net/code/snippet440.htm”>This snippet</a> seems to perform the function you’re looking for. <a href=”http://www.tek-tips.com/faqs.cfm?fid=5773″>This site</a> might have some useful code for you as well.
Good Luck
****************************************************************

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Denny Cherry
    Check out my SQL Server blog "SQL Server with Mr Denny" for more SQL Server information.
    66,010 pointsBadges:
    report
  • Jataim
    How can i retrieve value of check boxes from database in vb.net
    10 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following