Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 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 .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old March 13th, 2014, 05:38 AM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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

Reply With Quote
  #2 (permalink)  
Old July 30th, 2014, 08:56 PM
Friend of Wrox
Points: 528, Level: 8
Points: 528, Level: 8 Points: 528, Level: 8 Points: 528, Level: 8
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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.
Reply With Quote
The Following User Says Thank You to mmorgan30 For This Useful Post:
Alip1 (July 31st, 2014)
  #3 (permalink)  
Old July 31st, 2014, 06:08 AM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to navigate back to a cell ? Nocaster51 Excel VBA 2 November 28th, 2011 03: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 09:26 AM



All times are GMT -4. The time now is 12:27 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.