Click here to Skip to main content
15,891,375 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi everyone,
I wants to save the “selected Items” values into the name of “Product-d”,
then the text box name “Product-d”has to add in the “product list” also.
I need a query to insert these values in VB.NET using mysql db.
Regards,
Leema
Posted

1 solution

I would suggest the following :
VB
For i = 1 To myListBox.Items.Count
     If myListBox.GetSelected(i - 1) Then
        Textbox_Product.text += myListbox.Item(i-1) + vbCrLf
     end if
 Next
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900