Frequently Asked Interview Questions

What are the data providers available in .net to connect to database?

  1. System.Data.SqlClient: It describes a collection of classes used to access a SQL Server database.
  2. System.Data.OleDb: It describes a collection of classes used to access an OleDb data source. (Microsoft Access, MySQL, Informix, DB2, Oracle.. It uses OleDB drivers to connect to data source)
  3. System.Data.Odbc: It describes a collection of classes that are used to access a ODBC data source. (We can connect any relation database which supports odbc drivers).
  4. System.Data.OracleClient: It describes a collection of classes that are used to connect Oracle Database.

Most Visited Pages

Home | Site Index | Contact Us