Hi, I need to sort the data in listbox,
the listbox is populated from text file with 5 fields (columns) about 20 rows.
Please advise how to sort?
Thanks
Hi, I need to sort the data in listbox,
the listbox is populated from text file with 5 fields (columns) about 20 rows.
Please advise how to sort?
Thanks
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Nov 27, 2012, 4:29 PM
listBox1.DataSource = lines;
VulpesPosted Nov 27, 2012, 6:57 PM
listBox1.Items.Clear();
mengPosted Nov 27, 2012, 5:22 PM
VulpesPosted Nov 27, 2012, 10:16 AM
The result is:
A, B, D, G, C
B, A, F, G, C
B, E, C, D, F
C, D, E, F, G