The data reader is connected to the database until you explicitly call the _______ method.

  • Close()
  • Disconnect()
  • Dispose()
  • Finish()
The data reader is connected to the database until you explicitly call the Close() method. Calling this method releases the resources associated with the data reader and closes the underlying database connection, preventing unnecessary resource consumption and ensuring proper cleanup.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *