ActiveX Data Objects (ADO) comes installed with ASP and allows your pages to easily connect to databases. Which two ADO objects are used to open a connection and interact with the database?

  1. Connection object, RecordingSet object

  2. Connection object, Recordset object

  3. Connect object, RecordingSet object

  4. Connect object, Recordset object


Correct Option: B

AI Explanation

To answer this question, you need to understand the ActiveX Data Objects (ADO) and its objects used to interact with databases.

Option A) Connection object, RecordingSet object - This option is incorrect. The correct object names are "Recordset" and "Connection," not "RecordingSet."

Option B) Connection object, Recordset object - This option is correct. In ADO, the Connection object is used to establish a connection with the database, and the Recordset object is used to interact with the data returned from the database.

Option C) Connect object, RecordingSet object - This option is incorrect. The correct object names are "Recordset" and "Connection," not "RecordingSet."

Option D) Connect object, Recordset object - This option is incorrect. The correct object names are "Recordset" and "Connection," not "Connect."

The correct answer is B. This option is correct because the Connection object and Recordset object are the two ADO objects used to open a connection and interact with the database.

Find more quizzes: