Google News
logo
ADO.NET - Interview Questions
What are the namespaces used in ADO.Net to connect to a database?
Following namespaces are used to connect to Database.
 
* The System.Data namespace.
* The System.Data.OleDb namespace  –  A data provider used to access database such as Access, Oracle, or SQL.
* The System.Data.SQLClient namespace – Used to access SQL as the data provider.
Advertisement