Wrox Home  
Search P2P Archive for: Go

  Return to Index  

ado_dotnet thread: movenext, movelast ...


Message #1 by rgerman@h... on Fri, 22 Mar 2002 17:58:18
Is there an easy (and working) way to move around in a dataset/table 
similar to the old rs.movenext .movefirst .movelast etc? The ADO.net book 
does not seem to have anything on this. I found something in the .net help 
file with an example using Me.BindingsContext(x, y) but I can't get the 
darn thing to work. Please help.

Many thank

BobG
Message #2 by "Pat Hastings" <pat.hastings@s...> on Fri, 22 Mar 2002 18:02:35 -0000
the read command is movesnext and then gets the data for that row. They 
got rid of movenext claiming it was the number one error caused by 
programmers forgeting to put it in and their loops going on forever... 
not sure i agree with that either but...

Pat

-----Original Message-----
From: rgerman@h... [mailto:rgerman@h...]
Sent: 22 March 2002 17:58
To: ADO.NET
Subject: [ado_dotnet] movenext, movelast ...


Is there an easy (and working) way to move around in a dataset/table
similar to the old rs.movenext .movefirst .movelast etc? The ADO.net 
book
does not seem to have anything on this. I found something in the .net 
help
file with an example using Me.BindingsContext(x, y) but I can't get the
darn thing to work. Please help.

Many thank

BobG

--------------------------------------------------------

The contents of this e-mail are confidential to the ordinary user of the 
e-mail address to which it was addressed, or in the case of an 
incorrectly addressed e-mail message, the intended recipient. No-one 
else may copy, use, disseminate or forward all or any part of it in any 
form.

Although this email, including any attachments, is believed to be free 
of any virus, or other defect which might affect any computer or IT 
system into which it is received and opened, it is the responsibility of 
the recipient to ensure that it is virus free, and no responsibility is 
accepted for any loss or damage arising in any way from its use.

The views expressed in this e-mail are those of the sender and not 
necessarily the employees company.

If you receive this e-mail in error please accept our apology.  If this 
is the case we would be obliged if you would contact the sender and then 
delete the e-mail.

--------------------------------------------------------
Message #3 by "Kyle" <Kyle@T...> on Fri, 22 Mar 2002 14:03:46 -0500
BindingContext[dataView].Position can be incremented, decremented or set
to move around a dataview.

-----Original Message-----
From: rgerman@h... [mailto:rgerman@h...]
Sent: Friday, March 22, 2002 12:58 PM
To: ADO.NET
Subject: [ado_dotnet] movenext, movelast ...

Is there an easy (and working) way to move around in a dataset/table
similar to the old rs.movenext .movefirst .movelast etc? The ADO.net
book
does not seem to have anything on this. I found something in the .net
help
file with an example using Me.BindingsContext(x, y) but I can't get the
darn thing to work. Please help.

Many thank

BobG

  Return to Index