Moderate

Which method do you invoke on the Data Adapter control to load your generated dataset ?

Correct answer: A. Fill( )

  • A. Fill( )
  • B. Read( )
  • C. ExecuteQuery( )
  • D. None of these

Explanation

The DataAdapter's Fill() method executes the associated query and loads the returned rows into a DataSet or DataTable. Read() is associated with data readers, not with populating a generated dataset.

Last updated

Practise Database Systems

49 free Database Systems MCQs from Software Engineering, each with the correct answer and an explanation. Unlimited attempts, no account needed.

Exams that ask Software Engineering questions like this

Software Engineering is on this paper prepared for on TestUstad, and all of them draw the same bank, so this question is worth knowing for it.

Related questions