I have searched the forums and although i get hits on my searches no matches have answered my quandary. I am using visual studio 2008
So to the question:
I have 10 label's named label1, label2 label3 etc. and i have a dataset with 2 fields and 10 rows (2x10)
i would like to create a for loop like the following:
for x = 1 to 10
label(x) = ds.row(x).field (0)
next
ps. please excuse the syntax for the dataset command.
So to the question:
I have 10 label's named label1, label2 label3 etc. and i have a dataset with 2 fields and 10 rows (2x10)
i would like to create a for loop like the following:
for x = 1 to 10
label(x) = ds.row(x).field (0)
next
ps. please excuse the syntax for the dataset command.
Comment