ASP.Net CheckboxList

G

Guest

Hi,

I have a checkboxlist on an ASPX page.

The user checks some of the checkboxes and I save the details when they
click save.

When the user goes back in to edit the details, I loop through a dataset and
set my checkboxes to be checked based on whatis in the dataset.

Is there a better way of doing this as I could potentially have a lot of
checkboxes and I have to find the control whose value matches value in
dataset and then set it to be checked.

Just wanted to know if there is a better way of doing this.

Thanks,
C.
 

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

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top