Microsoft
98-361 · Question #319
You are developing a C# program for a bike rental company. Every night, your application needs to read data from a SQL Server 2000 database and write it to a flat file. This flat file will be…
The correct answer is C. SqlDataReader. See the full explanation below for the reasoning.
Question
You are developing a C# program for a bike rental company. Every night, your application needs to read data from a SQL Server 2000 database and write it to a flat file. This flat file will be transferred to your supplier. Which of the following classes shall you use to retrieve the data? Any solution that you suggest must have very little impact of the server while maximizing performance.
Options
- ADataSet
- BDataTable
- CSqlDataReader
- DOleDbDataReader
How the community answered
(28 responses)- A4% (1)
- B4% (1)
- C82% (23)
- D11% (3)
Community Discussion
No community discussion yet for this question.