Summary

In this hour, you've seen how to use the ADO.NET Command object to query your data source and retrieve data. You saw how to associate the Command object with a Connection object and a DataAdapter object. You used the DataAdapter to fill a DataSet with the data retrieved from a database query and then display the data. Then you saw how to display the results in a Web form.

Get Sams Teach Yourself ADO.NET in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.