I am working on a program that has a checkboxlist control.
What I am building is a type of messaging program.
The controlbox contains names from a db that also has emails attached to that name.
I want it so if the user selects multiple items that it pulls the emails from the checkbox list
I was thinking in may need to be something like foreach (listitems li in checkboxlist.items)
select from table.
I am not quite sure how to do this.
It has to construct an email and add all selected recipients to the email. Not a new email each time.