What should you do?

You are creating a Windows Forms application to retrieve and modify data. Depending on the installation, the data source can be a Microsoft Access database or a Microsoft SQL Server 2000 or later database. You need to ensure that your application accesses data by automatically using the data provider that is optimized for the data source.
What should you do?

You are creating a Windows Forms application to retrieve and modify data. Depending on the installation, the data source can be a Microsoft Access database or a Microsoft SQL Server 2000 or later database. You need to ensure that your application accesses data by automatically using the data provider that is optimized for the data source.
What should you do?

A.
Use the ODBC data provider classes.

B.
Use the OLE DB data provider classes.

C.
Use the SQL Server data provider classes.

D.
Use the DbProviderFactory class and related classes.



Leave a Reply 0

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