Results 1 to 14 of 14

Thread: DataReaders vs DataSets

Hybrid View

  1. #1
    Banned
    Join Date
    Nov 2005
    Posts
    2,367

    Re: DataReaders vs DataSets

    DataReaders. .Net is very very OOP purist friendly. The dataset (unless it's typed) is a generic housing container for any kind of data. Naturally, that comes with overhead. With a DataReader, I can take the data, place it into my objects I created and be done with the reader. I'm not stuck maintaining a recordset anymore and quite frankly - that is one of the things I love about .Net the most.

  2. #2

    Thread Starter
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: DataReaders vs DataSets

    Quote Originally Posted by sevenhalo
    I'm not stuck maintaining a recordset anymore
    I'm not quite sure what you mean by maintain. Whenever I created a recordset, I used, then closed it and set it to nothing. Whats to maintain?

    I'm doing the same thing with the reader (which, just based on two posts, I think I'll stick with). I create, use it, and close it. I see the way I'm using the reader to be nearly identical to the way I used recordsets.

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