How to process a CheckboxList multiple selection.

J

Jensen bredal

Hello,
Can someone guide me in how i may process a multiple selection on a
databound checkboxlist?
The checkboxlist is bound to a table of product category. The product
category id is an FK in the product list.

When multiple selction are made on the checkBoxList, how may i best process
the selection to retrive the corresponding products?


I have ides how to accomplish this, but i think there should be more
intuitive ways to do it.

Any comments will be highly appreciated.

Many thanks
JB
 
W

Wilco Bauwer

Just loop through the Items collection and check if the ListItem's
Selected property returns true.
 

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