Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27159

VS 2010 Iterate through dataset Returned from SQL Query in a Function

$
0
0
Background, I last used VB 6 about a decade ago. Since then I have become fairly skilled in PHP/MySQL. That being said, I remember very little about VB 6, and what I do remember doesn't seem to work in VB 2010... On to the issue.

I am working with a client that needs to grab data from local machines (running different databases, however the first db that needs to integrate is an Access db) scattered throughout the US and post it to a web server. To keep things simple, I am going to generate an XML file with all records that have been modified since the last time the XML file was generated.

With PHP I can easily query the db return the data and loop over it with a "for each" and I could generate my xml. For the life of me, I can't seem to find this solution for VB 2010. I seen numerous, "right answers" that don't seem to work... Can anyone advise on what I need to do?

Thanks!

Viewing all articles
Browse latest Browse all 27159

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>