Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27554

Do LOOP UNTIL in reverse function. TRICKY

$
0
0
I have created a table displaying rows and columns of Numbers and underscores using the DO WHILE function. I was supposed to use the DO Loop Until function. I am having trouble doing it in the DO Loop Until function. Any help would be greatly appreciated.

Dim outSideCounter As Integer
Dim inSideCounter As Integer

outSideCounter = 0
inSideCounter = 0

Do While outSideCounter <= 4
'36 underscores
lblDisplayTable.Text = lblDisplayTable.Text & "____________________________" & vbCr & vbCr
outSideCounter = outSideCounter + 1

Do While inSideCounter <= 4
inSideCounter = inSideCounter + 1
lblDisplayTable.Text = lblDisplayTable.Text & "col #" & inSideCounter & " "
Loop
inSideCounter = 0
lblDisplayTable.Text = lblDisplayTable.Text & vbCr

Viewing all articles
Browse latest Browse all 27554

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>