Solved

Dataset

Posted on 2004-10-05
1
356 Views
Last Modified: 2010-04-23
How do I grab the field values from a dataset ?
Thanks,
0
Comment
Question by:Mylor
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

808 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