Re: Performance better with DataSet or DataReader or ...???

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Kevin Yu [MSFT] (v-kevy_at_online.microsoft.com)
Date: 11/16/04


Date: Tue, 16 Nov 2004 03:55:18 GMT

Hi Gwenda,

Actually, the DataAdapter internally uses DataReader to read data and fill
the DataSet. However, if we fill a DataSet and copy data to your object,
that will be slower than your code to put records directly to the DataSet
in myClass. So I think your code is fine. Good luck!

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."



Relevant Pages

  • Re: Install Windows Patch via GPO
    ... This posting is provided "AS IS" with no warranties, and confers no rights. ...
    (microsoft.public.windows.group_policy)
  • Re: Trust windows 2k to windows 2k3
    ... This posting is provided "AS-IS" with no warranties or guarantees and ... confers no rights. ... only reply to Newsgroups ...
    (microsoft.public.windows.server.active_directory)
  • Re: Trust windows 2k to windows 2k3
    ... This posting is provided "AS-IS" with no warranties or guarantees and confers no rights. ... only reply to Newsgroups ...
    (microsoft.public.windows.server.active_directory)
  • Re: Installing a 360 Media Center Extender
    ... This posting is provided "AS IS" with no warranties, and confers no rights. ...
    (microsoft.public.windows.mediacenter)
  • Re: Trust windows 2k to windows 2k3
    ... This posting is provided "AS IS" with no warranties, and confers no rights. ... only reply to Newsgroups ...
    (microsoft.public.windows.server.active_directory)