234k views
3 votes
For using SQL.NET Data Provider what using statement of the following is correct?

[A] using System.Data;
[B] using System.Data.SqlServer;
[C] using System.Data.OleDb;
[D] using System.Data.SqlClient;

User Rosstex
by
8.1k points

1 Answer

4 votes

Final answer:

The correct using statement for using SQL.NET Data Provider is 'using System.Data.SqlClient;'

Step-by-step explanation:

The correct using statement for using SQL.NET Data Provider is using System.Data.SqlClient;

User DChaplin
by
7.4k points