p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/)
-   BOOK: Beginning ASP.NET 2.0 and Databases (http://p2p.wrox.com/book-beginning-asp-net-2-0-databases-276/)
-   -   how checkbox list items stored in database (http://p2p.wrox.com/book-beginning-asp-net-2-0-databases/78854-how-checkbox-list-items-stored-database.html)

msman88 April 5th, 2010 12:14 PM

how checkbox list items stored in database
 
Hello,
In the user form, the user has a chekboxList, and he can select more than one item.
how can I store those selected items in database, and how then I can retrieve them.
"
Is it true to make a separate column for each item, and then if selected, then that cloumn will have "1" and "0" for non selected.
"
Only that idea occurred to my mind, and I think that I can find better it. so help me in that.


All times are GMT -4. The time now is 05:07 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
2013 John Wiley & Sons, Inc.