QCheckboxList: how do i get the checked values of QCheckboxList
Mon, 06/21/2010 - 07:50
i have inserted a QCheckboxList to my page.
i need help on how i can get the checked values and the best way u think one should store it in the database.
i'll appreciate urgent reply pls.

QCheckBoxList is a control that inherits from QListControl. QListControl has a property called SelectedItems - and also SelectedValues. Inspect those.
You can learn all that from inspecting the code of the QListControl, or by reviewing the documentation: http://api.qcu.be/#http://qcu.be/view_documentation.php?url=Controls/QLi...
How to store results form a QCheckBoxList in the database: I'd recommend an association table. You're fundamentally allowing the user to pick several entities that are relevant to the edited object. You thus have a many-to-many relationship.