Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ADO.NET For discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET 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 Search this Thread Display Modes
  #1 (permalink)  
Old December 6th, 2003, 07:07 AM
Friend of Wrox
 
Join Date: Oct 2003
Location: Cairo, , Egypt.
Posts: 336
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alyeng2000
Default How to navigate

hi all,
i am new to ado.net
What i made is: i have filled a dataset using sqladapter so my question is how could i navigate through dataset and while that i fill the text fields which holds the table fields values
another mean:
i need like old ADO how to movenext and moveprevious methods, movefirst, movelast

thanks in advance

Ahmed Ali
Software Developer
__________________
Ahmed Ali
Senior Software Developer
Reply With Quote
  #2 (permalink)  
Old December 8th, 2003, 10:26 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Usually with ADO.net, you bind the datasource to some control that internally handles the interation of all the data. The DataGrid, DataList and Repeater are examples of such controls. You no longer need to manually iterate thru the rows of a data table.

You'd do something like this:

myDataGrid.DataSource = myDataSet.Tables(0)
myDataGrid.DataBind()

Peter
------------------------------------------------------
Work smarter, not harder.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
navigate dataitem in datagrid mvenkatesan VS.NET 2002/2003 0 May 24th, 2007 01:52 AM
how do i navigate from one file to another -VB6 jazzydonald VB How-To 6 May 14th, 2007 02:01 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



All times are GMT -4. The time now is 10:50 AM.


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