Results 1 to 3 of 3

Thread: Ado.net ?

  1. #1

    Thread Starter
    Hyperactive Member crosbj's Avatar
    Join Date
    Oct 2000
    Location
    Michigan
    Posts
    285

    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?

  2. #2
    Addicted Member
    Join Date
    Nov 2000
    Location
    San Diego - California
    Posts
    251
    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.

  3. #3

    Thread Starter
    Hyperactive Member crosbj's Avatar
    Join Date
    Oct 2000
    Location
    Michigan
    Posts
    285
    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
  •  



Click Here to Expand Forum to Full Width