VB.NET 2002/2003 BasicsFor coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.
You are currently viewing the VB.NET 2002/2003 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
I am looking in my VB.NET book and I don't see anything about the ADO data control that was in my VB6 book. Anyone know how I get this functionality? I am connecting to an Access database. This is basically the control that tells you what record you are on and has two buttons on each side; press the far left button to get the very first record, press the next button to scroll back by one, the next on scrolls forwards by one, and the one to the far right takes you to the very last record. Like this picture if you were on record 16...
|< < 16 > >|
That's because ADO from VB6 has been replaced with ADO.NET in .NET. ADO.NET doesn't contain UI controls. It contains all the stuff you need to get at data. Based on the application you are building (winform, webform, console app, windows service) you have to set up the controls based on that application's UI namespace (System.Windows.Forms, System.Web.UI, etc).
I can get to the data, but I don't know how to access multiple records. I'm doing a winform and want to have text boxes that display my data then the user can search the database by filling in any of the text boxes and hitting the search button. But how do I access multiple data records if the query brings up more than one...? I'm lost.