I really need help.
I have to build a web application in c# where there are several controls (such as listbox controls) that will post multiple selections to a database. My frustration is in the fact that I cannot find any documentation that demonstrates how to accomplish this. All the documentation I have located shows you how to build a manual array list to populate the control and then after clicking a button, display those items selected in a label control. WOW!!!!!
My question is, what do you do (or use) when you want to trap multiple selections from a control (like the listbox) and post them to a database?
Here is an example of an webform that encompasses my scenario:
Name of Car:[textbox]
Users of Car:[listbox or family members]
I need to be able to store the values of the listbox selected so that I can at any point run a query against this column to find out which car or what cars family member 3 drives.
I figure there are many e-com sites out there that emplore this functionality, I just can't find an example of the code.
Thank you for your patience in reading this.