Visual Basic 2005

Posted on 2008-10-28
Last Modified: 2013-11-26
Making the painful transition from VB6.....

In VB6, returning a field value could be done like so:


Damned if I can figure out the equivalent in 2005.
Question by:brammo
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
  • 2
  • 2
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 22827292
how do you "query", right now?
with a datareader, or do you fill into a dataset/datatable?

Author Comment

ID: 22827306
LVL 143

Accepted Solution

Guy Hengel [angelIII / a3] earned 50 total points
ID: 22827369
you mean:
yourdataset.Tables(0).Rows(0)("FieldInTable")   should return the first row's value...
If I remember correctly...

Open in new window


Author Closing Comment

ID: 31510984
Thanks, it's a painful process......

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
how to make search between pages 17 59
Run software updates from the website 6 49
MessageBox Appear behind a form in Runtime 1 28
Need a quick overview of Selenium testing 2 35
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

739 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