MCQs > Database Management > ADO.NET > How can you make a data reader close connection automatically?

ADO.NET MCQs

How can you make a data reader close connection automatically?

Answer

Correct Answer: command.ExecuteReader(CommandBehavior.CloseConnection)

Explanation:

Note: This Question is unanswered, help us to find answer for this one

ADO.NET Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

ADO.NET Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it