Dataset

How do I grab the field values from a dataset ?
Thanks,
MylorAsked:
Who is Participating?
 
RonaldBiemansCommented:
ds.tables("yourtable").rows(0).item("yourcolumnname")

rows(0) will get the values from the first row, rows(1) will get the second row etc..

so in a loop it would be something like this

for x as integer = 0 to ds.tables("youttable").rows.count -1
   msgbox (ds.tables("yourtable").rows(x).item("yourcolumnname")
next
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.