ADO.NET INTERVIEW QUESTION & ANSWERS
DOT Net
TAGS
81. | What two classes are used to open and connect to a database using ADO.NET? |
---|---|
Use the SqlConnection and OleDbConnection classes to connect to a database using ADO.NET. |
82. | What two classes are used to execute arbitrary SQL commands in a database using ADO.NET? |
---|---|
The SqlCommand and OleDbCommand classes are used to execute SQL commands using ADO.NET. |
83. | Describe ADO.NET Architecture? |
---|---|
››Command Object ››DataReader Object ››DataAdapter Object |
84. | What are the data access namespaces in .NET? |
---|---|
|
85. | What providers does Ado.net uses? |
---|---|
The .NET Framework provides mainly three data providers, they are Microsoft SQL Server, OLEDB, ODBC. |