I have one more question. I have car0 car1 car2 car3 ... car19 as coloumns in a sql db in a single row. I want to use cursor.getstring("car0") and same for all the rest until car19 ( ı have to take values from db).
I am planning to use "do while" but i cant figure out how to use it with do while and getstring
for example :
i use this code until v=20 :
dim v as int = 0
do while v<20
label(v) = cursorraces.GetString(car(v))
V=v+1
loop
but when i use this it search for the coloumn car(1) instead of car1 so cant find the coloumn and cant get the value.
I tried to ask this question bfore but couldnt get a clear answer where am i doing wrong.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.