- Joined
- Nov 2, 2001
- Location
- In front of my Computer
I have to use a for next statement in one of the buttons. It has to count from 0 to 20 by ones. I have that down. Now I have to display that in a label. I mean have it show (0 1 2 .... 20) in the label. Here is what I tried.
For intCounter = 0 To 20
Debug.WriteLine(intCounter)
lblOutput.Text = intcounter
Next intcounter
Its nowhere in my book on how to do it. The teacher makes up the assignments himself. Now obviously that only shows 20. He showed us quickly last week. I should of taken better notes.
For intCounter = 0 To 20
Debug.WriteLine(intCounter)
lblOutput.Text = intcounter
Next intcounter
Its nowhere in my book on how to do it. The teacher makes up the assignments himself. Now obviously that only shows 20. He showed us quickly last week. I should of taken better notes.