List the two important objects of ADO.net and also list the namespaces that are commonly used in ADO.net to aid in connection to a database.

devquora
devquora

Posted On: Dec 21, 2022

 

    1 Answer Written

  •  devquora
    Answered by devquora

    In ADO.NET (ActiveX Data Objects .NET), two important objects are:

    1. Connection: The Connection object is used to establish a connection to a database. It provides methods and properties to open, close, and manage the connection to the database server.
    2. Command: The Command object is used to execute SQL commands or stored procedures against the database. It allows you to pass parameters, execute queries, and retrieve data from the database.

Related Questions

Please Login or Register to leave a response.

Related Questions

ADO.Net Interview Questions

Describe ADO.net?

ADO.net is an acronym for ActiveX Data Objects, which is commonly used as a part of the .net framework...

ADO.Net Interview Questions

List some of the common data providers for ADO.net framework.

Some of the common data providers for ADO.net framework include:..

ADO.Net Interview Questions

What do you understand by the terms DataReader Object and DataSet Object?

DataReader is an object specific to ADO.net that aims in providing quality access to data from a particular and specified source of data...