what sql datatype should be used with radio buttons or checkboxes?

G

Guest

Not sure what SQL datatype should be used with radiobuttons since MS SQL
doesn't support a boolean datatype. I would like to bind radiobuttons to an
SqlDataSource.

Thanks for any suggestions on this.
 
G

Garth Wells

Not sure what SQL datatype should be used with radiobuttons since MS SQL
doesn't support a boolean datatype. I would like to bind radiobuttons to an
SqlDataSource.

From SQL Server BOL...

bit - An integer data type that can take a value of 1, 0, or NULL.


Garth
www.sqlbook.com
 
G

Garth Wells

Thanks Garth. I'll have a look at your book next time I'm in the bookstore!<<

Save yourself some money...half the chapters are free for download on the site.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top