Home All Groups Group Topic Archive Search About

Binding Checkboxes to MySQL

Author
4 Apr 2006 2:14 AM
jwitt
Ref: WinXP, MySQL 5.0, C#

How to bind a CheckBox to a Boolean column (TINYINT(1)), or to any type
of MySQL column for that matter?

Thanks,
Jim

Author
4 Apr 2006 6:47 AM
Cor Ligthert [MVP]
Jwitt,

I do not know if the TinyInt(1) is the same as the Bool column in SQLServer.

If that is the case than you have to bind the Value property from the
checkbox while most start with doing it to the Text property.

I hope this helps,

Cor

Show quote
"jwitt" <baytech***@yahoo.com> schreef in bericht
news:OZZeK24VGHA.4424@TK2MSFTNGP15.phx.gbl...
> Ref: WinXP, MySQL 5.0, C#
>
> How to bind a CheckBox to a Boolean column (TINYINT(1)), or to any type of
> MySQL column for that matter?
>
> Thanks,
> Jim

AddThis Social Bookmark Button