Multi-Selection List Box
Datatype String Domain Name e.g. aol.com,hotmail.com
lstDomainName is the name of the control
I have a list box with different domain names, and also a selection of the text "All"
I'd like to generate an email list based on the domains the user selects, or based on all domains if the user selects "All"
The resulting SQL statment should end up something like this
Select EmailAddress,Created ' If the customer selects a domain or multiple domains
Where Domain = Whats in lstDomainName
or Select EmailAddress,Created ' If the customer selects All
From tbl Users
Thanks in advance