🎴 Flashcard Mode

ASP Database Connection Methods with ADO

Card1 / 8
Mastered0
Review0
QuestionClick to flip

What must your ASP code have if you are using the DSN-less method of connecting?

AnswerClick to flip back
A
Both
💡 Explanation:

The DSN-less connection method requires both a Connection object and a connection string. The difference from DSN is that the connection string must explicitly specify all connection parameters (driver, database path, credentials) instead of referencing a preconfigured DSN. Both components are still mandatory for establishing the connection.

Change Mode