Multiple choice .net asp

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

  1. Fill( )

  2. ExecuteQuery( )

  3. Read( )

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

The Fill() method is used to load data from a DataAdapter into a DataSet. The Fill method executes the query and populates the DataSet with the results. ExecuteQuery() is not a standard DataAdapter method, and Read() is typically used with DataReaders, not DataAdapters. Fill() is the standard ADO.NET method for this purpose.