Link to home
Start Free TrialLog in
Avatar of bidgadget
bidgadgetFlag for United States of America

asked on

visual basic.net getting items from a listbox to a sql database

I am working on a vb.net project using visual studio 2017.  I have a listbox control which contains one row of items.  I need to get these items into an existing database table.  I am able to create the database connection fine just not sure of how I would get the sql statement to add the entire list into the table.  Any help would be appreciated.  Thank you
ASKER CERTIFIED SOLUTION
Avatar of Máté Farkas
Máté Farkas
Flag of Hungary image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bidgadget

ASKER

thank you for your response.  My problem is identifying in code which is the first item, second...  I tried a few things but getting errors. 
If you can show the related fragment of the code then we can help you better.
thank you.  I ended up taking your advice and creating code for each selection.