Results 1 to 3 of 3

Thread: Lists or Datases?

  1. #1
    PowerPoster
    Join Date
    Jan 04
    Posts
    3,616

    Lists or Datases?

    Which would be more efficient to use, Lists<list> or Datasets?

    Thanks,
    Blake

  2. #2
    .NUT jmcilhinney's Avatar
    Join Date
    May 05
    Location
    Sydney, Australia
    Posts
    81,230

    Re: Lists or Datases?

    That would depend on the circumstances. They both exist because they both have their uses. If you're talking about getting data from a database and then using it in an application then you might even use both. You could use ADO.NET to populate DataTables, whether in a DataSet or not, and then transfer the data to collections of your own entity types. That's exactly what ORMs do, e.g. Entity Framework. They use ADO.NET under the hood and expose the data to you as strongly-typed entities.

  3. #3
    Frenzied Member
    Join Date
    Jan 09
    Location
    Watch Window(Shift+f9)
    Posts
    1,434

    Re: Lists or Datases?

    i would really suggest Lists<list> is more efficient . rather than always filling to dataset using dataadapter . but i am not sure what exactly you want .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •