How to count items in Dataset?

I have a dataset in which I need to count the number of items.  I know you can count ROWS with the following:

DS.Tables(0).Rows.Count

But I need to count the number of items WITHIN the row.  How do I do this?
brassmonkeyboyAsked:
Who is Participating?
 
appariCommented:

its

DS.Tables(0).columns.count

0
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
you mean the number of fields?

DS.Tables(0).Rows(0).Fields.Count
0
 
brassmonkeyboyAuthor Commented:
Appari, that works wonderfully.

Angel, I'm sorry man, but that doesn't work...
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.