|
-
Jun 19th, 2002, 09:41 AM
#1
Thread Starter
Hyperactive Member
Ado.net ?
There isn't really a category for ADO.Net so I'm posting this here. I know that the recordset object has been replaced by the dataset or some other title. My ? is does it still have the same type of collections i.e WillMove, MoveComplete, etc. for moving from record to record?
-
Jun 19th, 2002, 01:28 PM
#2
Addicted Member
ADO.NET does not have recordsets but replaces this with Datasets. A dataset consists of one or more disconnected datatables.
One can view a datatable as a new form of the recordset except the table does not have a cursor as in a recordset.
A datatable can have one or more dataview associated with it. The reason for this is that all the sort , filter etc functions are now performed at the dataview level and this does not effect the underlying datatable.
Wait - it gets better -
The cursor in the recordset is now replaced by a thing called the currencymanger. The currencymanger basically contains a pointer to a position in the dataview. The advantage of this is that one can have a number of currencymanagers pointing to different positions in the table.
-
Jun 19th, 2002, 07:48 PM
#3
Thread Starter
Hyperactive Member
Thanks for the reply BryanJ. Your answer was informative. I guess my main question was whether there were events to tell when a user moves from one row to another. I have used the MoveComplete event in ADO 2.x to fire routines as users move between rows of data. I just haven't seen much documentation on this type of thing for ADO.NET or anything much for ADO.NET. I asume there are events that will fire as users move from one row to another. Thanks again for the reply.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|