I have two list boxes, listbox1 (customer id) and list box 2 customer emails, I need to link the items together to add the email to a SQL table based on the ID matching.
So line 1 in list 1 is linked to line 1 in listbox 2 , and so on ,
I'm not sure how to write the code for this, I thought I might need some sort of an array but I'm new to coding so I'm not to sure.
Any help would be fantastic
Cheers