Solved

Dataset

Posted on 2004-10-05
1
357 Views
Last Modified: 2010-04-23
How do I grab the field values from a dataset ?
Thanks,
0
Comment
Question by:Mylor
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 25

Accepted Solution

by:
RonaldBiemans earned 250 total points
ID: 12229961
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

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Expression Evaluater 3 46
Need syntax help building hyperlink 2 41
Need help with a query 3 39
.Net remove carriage returns, line feeds and tabbs 5 16
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question