nerdexam
Microsoft

98-361 · Question #317

98-361 Question #317: Real Exam Question with Answer & Explanation

Sign in or unlock 98-361 to reveal the answer and full explanation for question #317. The question stem and answer options stay visible for context.

Question

Your application includes a SqlDataAdapter object named sqlDataAdapter that connects to the Employees table. You use the Fill method to retrieve the data from the Employees table. The SqlDataAdapter's Connection property is set to a valid connection to the SQL Server database, but the connection is in the closed state. Which of the following statements is true about the working of the Fill method?

Options

  • AThe Fill method will throw an exception because the connection is closed.
  • BThe Fill method will open the connection, read the data, and leave the connection open.
  • CThe Fill method will open the connection, read the data, and leave the connection closed.
  • DThe Fill method will return an emptyresult setbecause the connection is closed.

Unlock 98-361 to see the answer

You've previewed enough free 98-361 questions. Unlock 98-361 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 98-361 Practice