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.
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.