Hello,
I want to be able to run 4 sets of objects through a loop.
Example:
Dim intCnt as Integer = 1
Dim dblRate as Double
Do While intCnt <= 4
strName = "txtRate" & CStr(intCnt)
dblRate = CDbl(strName.Text)
dblGross = CStr(dblHours * 40)
lstOutput.Items.Add(dblGross)
intCnt += 1
Loop
Any suggestions on how to make this work?
I want to be able to run 4 sets of objects through a loop.
Example:
Dim intCnt as Integer = 1
Dim dblRate as Double
Do While intCnt <= 4
strName = "txtRate" & CStr(intCnt)
dblRate = CDbl(strName.Text)
dblGross = CStr(dblHours * 40)
lstOutput.Items.Add(dblGross)
intCnt += 1
Loop
Any suggestions on how to make this work?