|
-
Dec 12th, 2002, 03:21 PM
#1
Thread Starter
New Member
Sorting Arrays before going into a combobox
I need to sort the arrays in to alphabetical order the one holds products and the other the corresponding prices.
Here is the code for the split
Do While sr.Peek <> -1
myArray = Split(sr.ReadLine, ",")
cboProduct.Items.Add(myArray(0))
PriceArray(counter) = myArray(1)
counter = counter + 1
Loop
sr.Close()
where would I put the sort?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|