Wrox Programmer Forums
|
BOOK: Professional Visual Basic 2012 and .NET 4.5 Programming
This is the forum to discuss the Wrox book Professional Visual Basic 2012 and .NET 4.5 Programming by Bill Sheldon, Billy Hollis, Rob Windsor, David McCarter, Gastón Hillar, Todd Herman; ISBN: 978-1-1183-1445-6
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Visual Basic 2012 and .NET 4.5 Programming section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 13th, 2014, 05:38 AM
Registered User
 
Join Date: Mar 2014
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default Navigate into recordset

I'm migrating from VB6 to VB2012 and ADO to ADO.NET.
In ADO, I created a variable of type ADO.Recordset property and used to navigate (back and forth) with the methods: next, previous, first and last.
ADO.NET object In which I can use to navigate back and forth?

Thancks far all

 
Old July 30th, 2014, 08:56 PM
Friend of Wrox
 
Join Date: Feb 2014
Posts: 136
Thanks: 1
Thanked 10 Times in 10 Posts
Default

if you want to be able to do foward and back word iterating in ado.net then DataSet and DataAapters (if i am just querying one table i will use a data adpater to fill a table instead of a data set) are needed to fill tables to iterate over. if all you need is forward reading you can use an DataReaders, these are fast forward connected readers.

if you are migrating to a 4.0 or higher frame work, and you are migrating to a newer techinolgy try looking at entity framework, and linq to entity as your sql pipeline. This is more robust and object oriented apporach.

Last edited by mmorgan30; July 30th, 2014 at 09:03 PM..
The Following User Says Thank You to mmorgan30 For This Useful Post:
Alip1 (July 31st, 2014)
 
Old July 31st, 2014, 06:08 AM
Registered User
 
Join Date: Mar 2014
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Tancks for all
But with a DataRepeater how do I go forward and back into recordset?
Own commands like: movenext, move, movefirst and movelast previous?
Thanks for all





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to navigate back to a cell ? Nocaster51 Excel VBA 2 November 28th, 2011 04:08 PM
Navigate through nodes abelmirma XML 1 May 7th, 2005 07:32 AM
Navigate through Datagrid Abhinav_jain_mca General .NET 2 September 8th, 2004 01:10 AM
navigate from one webform to another programatical Abhinav_jain_mca General .NET 2 August 3rd, 2004 03:23 PM
How to navigate alyeng2000 ADO.NET 1 December 8th, 2003 10:26 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.