hello i have string which is something like this
Dim products As String = "SANDWICH-1%MANGO JUICE-10%"
now i appended the % sign between every product while saving the combobox items in Microsoft access database
now what i want to do is to make this product string which i fetched from the database to add every single product in combobox4
i tried
products = products.Replace("%", "','")
Dim array() As String = {products}
For Each column As String In array
ComboBox4.Items.Add(column)
Next
but the replace dont work properly the data comes in combobox in same line i want it as index 0 = SANDWICH-1 index 1 = MANGO JUICE-10
this way if you can help or this is how i appended the data to one string while inserting it into Microsoft access database
Dim productsincarts As String = String.Empty
For Each itm As String In ComboBox4.Items
productsincarts &= itm & "%"
Next