O'Reilly logo

Sams Teach Yourself ADO.NET in 24 Hours by Paul Bertucci, Jason Lefebvre

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hour 6

Quiz Answer

1: Which method of the DataAdapter object is used to place the records returned from a query into a DataSet?
A1: The Fill() method of the DataAdapter object is used to place query results into a DataSet.
2: What steps must you perform before being able to use a Command object to retrieve data from a data source?
A2: 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.
3: True or False: You should use an OleDbConnection with a SqlCommand in ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required