Seven price
asked on
start at 0
I have a count that starts at 1 and I need it to start at 0.
Dim cnt As Integer = 0
inside a reader (( Do While ))
cnt = cnt + 1
tb.ID = quantity" + cnt.ToString()
how can I get it to start at 0
Dim cnt As Integer = 0
inside a reader (( Do While ))
cnt = cnt + 1
tb.ID = quantity" + cnt.ToString()
how can I get it to start at 0
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
in the firstTime if... set firstTime = False;
ASKER
this worked
tb.ID = quantity" + cnt.ToString()
cnt = cnt + 1
tb.ID = quantity" + cnt.ToString()
cnt = cnt + 1
Dim cnt As Integer = -1