How do I load my array into multiple text boxes?
<p>I'm a student currently working on a powerball program for class. I have made an array with random numbers and need to load each number into an it's own text field. This seems like it would be rather simple to do but I'm just stuck. Would love some help on this! </p>

<p>ok sorry! kinda new to this place and I don't have a whole lot done. </p>

<pre><code>   private void btnQuickPlayNumbers_Click(object sender, EventArgs e)
    {
        int randCheck = 0;

        Random rand = new Random();

        int[] powerball5 = new int[5];

        for (int i = 0; i &lt; powerball5.Length; )
        {
            randCheck = rand.Next(0, 60);

            while (!(powerball5.Contains(randCheck)))
            {
                powerball5[i] = randCheck;
                i++;
            }


        }
    }
</code></pre>

<p>this is all that I have done so far. I was thinking there might be a way to increment through the text boxes using the for loop but I'm not sure on this. My teacher told me not to use a bunch of if statement to do this. </p>
