Re: Movement of record



"WilliamMomo" <WilliamMomo@xxxxxxxxxxxxxxxxxxxxxxxxx> schrieb
i am the beginner of VB.NET. At the vb6 if i want to move the record
at the ado, i can use the following code : adoStudent.movenext.

At the VB.NET how can i do ? If i have a dataset call dsLoginCheck ?

ADO.Net is still incomplete. You can not navigate through all records using MovePrevious/MoveNext. You either have to load the whole table completely into memory (often impossible or inacceptable with thousands of records), or load all the PKs and execute a Select-SQL using the PK of the "current record" to navigate.

see also:
http://msdn.microsoft.com/library/en-us/cpguide/html/cpconaccessingdatawithadonet.asp

in particular:
http://msdn.microsoft.com/library/en-us/cpguide/html/cpconcreatingusingdatasets.asp

Better group to ask ADO.Net related (language unrelated) questions:
microsoft.public.dotnet.framework.adonet


Armin

.