Which of the following classes shall you use to retrieve the data?

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.
A. DataSet
B. DataTable
C. SqlDataReader
D. OleDbDataReader

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.