Re: Movement of record
- From: "Armin Zingler" <az.nospam@xxxxxxxxxx>
- Date: Mon, 9 Jan 2006 08:39:50 +0100
"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
.
- Prev by Date: Refresh Data
- Next by Date: Re: Use of delegate
- Previous by thread: Refresh Data
- Next by thread: Re: Movement of record
- Index(es):