Which method of the DataAdapter object is used to place the records returned from a query into a DataSet ?
The Fill() method of the DataAdapter object is used to place query results into a DataSet .
What steps must you perform before being able to use a Command object to retrieve data from a data source?
First, you must create an instance of the Connection object and properly configure it. Then you must associate this connection with the Command object. One way of doing this is to set the Connection object to the Connection property of the Command object. Then, after you open your connection, you can execute your query and retrieve the results.
True or False: You should use an OleDbConnection with a SqlCommand in order to retrieve data from Microsoft SQL Server using OLE DB drivers.
False. You can't mix objects from one managed provider with another to retrieve data.