Re: Performance better with DataSet or DataReader or ...???
From: Kevin Yu [MSFT] (v-kevy_at_online.microsoft.com)
Date: 11/16/04
- Next message: Dinesh Priyankara: "problem with typed dataset"
- Previous message: Jeff Dillon: "Re: Sorry to be a pain but THIS IS A REAL BUG..."
- In reply to: gwenda: "Re: Performance better with DataSet or DataReader or ...???"
- Next in thread: Cor Ligthert: "Re: Performance better with DataSet or DataReader or ...???"
- Messages sorted by: [ date ] [ thread ]
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."
- Next message: Dinesh Priyankara: "problem with typed dataset"
- Previous message: Jeff Dillon: "Re: Sorry to be a pain but THIS IS A REAL BUG..."
- In reply to: gwenda: "Re: Performance better with DataSet or DataReader or ...???"
- Next in thread: Cor Ligthert: "Re: Performance better with DataSet or DataReader or ...???"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|