Summary

Today you learned all the basics of accessing data with ADO.NET. Like most of the object models in the FCL, Microsoft seems to have thought of everything, and ADO.NET is no different. Choosing the wrong data access strategy when developing applications can spell disaster for scalability and functionality. With ADO.NET, you have many options to choose from when deciding how to get data to and from any type of data store.

If you need fast, read-only access, use a DataReader.

If you need complex relational data that must be disconnected from a data source, use DataSets and DataAdapters.

Tomorrow you continue learning about using ADO.NET through the Visual tools in Visual Studio .NET. Everything you learned today serves as a foundation for ...

Get Sams Teach Yourself Visual Studio® .NET 2003 in 21 Days 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.