Multiple choice .net asp

Which of the following is not a member of ADODBCommand object?

  1. ExecuteReader

  2. ExecuteScalar

  3. ExecuteStream

  4. Open

  5. CommandText

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The Open method is not a member of any Command object (whether ADODB.Command or SqlCommand). Open is a method used with Connection objects to establish a database connection. Command objects have methods like Execute, ExecuteReader, ExecuteScalar, ExecuteNonQuery, and properties like CommandText, CommandType, and CommandTimeout.