I have six textboxes, and upon button press it randomly generates six numbers, one in eact text box

e.g. [43] [85] [93] [1] [0] [17]

Question:

i create another six textboxes and at the same time allocate these numbers in ascending/descending numbers.

I am not looking for any codes whatsoever, as i love the challenge of VB.Net But I require a hint, as the bubble method has boggled me!

Recommended Answers

All 2 Replies

But I require a hint, as the bubble method has boggled me!

Bubblesort. Which part is giving you problems?

You can use LINQ to sort arrays or lists for you. Load up the values from the textboxes in to a collection and call .Sort()

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.