May 2002
Beginner
408 pages
9h 10m
English
In Hour 6, “Retrieving Data from the Data Source,” you saw how to use ADO.NET to connect to a data source, fetch some records, place them into a DataSet using the DataAdapter, and display them on a Web form. In this hour, you'll see an alternative—and in many instances more efficient—method of retrieving data. Specifically, in this hour, you'll learn how to
Bind the DataReader object to Web controls
Step through the results of a DataReader object
Determine when to use a DataAdapter versus a DataReader
Read now
Unlock full access