.net - Using values from 2 list boxes in c# to populate a SQL table -


i have 2 list boxes, listbox1 (customer id) , list box 2 customer emails, need link items add email sql table based on id matching.

so line 1 in list 1 linked line 1 in listbox 2 , , on ,

i'm not sure how write code this, thought might need sort of array i'm new coding i'm not sure.

any fantastic

cheers

you can use selected index of list box matching id's in first list box id's of second list box,

that may in format below

listbox1.selectedindex matching listbox2.selectedindex

now can opt code store in database.


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -

c# - String.format() DateTime With Arabic culture -