Hi,
Could some explain what is my best solution?
I have a comboboxlist that is populated via sql select, the list could contain anything from 1 to 30 items and all items can be selected at once.
Once the user clicks button I iterate through the list of selected items items and retrive the text field of each.
My problem is that I then need to query the database with something like
select statment needs to run for each of the items selected in the checkboxlist which is of course ua user defined amount.
I have given this much thought but can't work out how to achieve this, be assured i have searched but have been unable to find anything that I recognise as being helpful.
Any advice would be great thanks
Could some explain what is my best solution?
I have a comboboxlist that is populated via sql select, the list could contain anything from 1 to 30 items and all items can be selected at once.
Once the user clicks button I iterate through the list of selected items items and retrive the text field of each.
My problem is that I then need to query the database with something like
Code:
select * where field = selecteditem OR nextselecteditem
I have given this much thought but can't work out how to achieve this, be assured i have searched but have been unable to find anything that I recognise as being helpful.
Any advice would be great thanks